electron-winstaller
Advanced tools
Comparing version 5.0.0 to 5.1.0
@@ -7,3 +7,4 @@ { | ||
"@semantic-release/github" | ||
] | ||
], | ||
"branches": [ "main" ] | ||
} |
@@ -1,4 +0,5 @@ | ||
import { Options } from './options'; | ||
export { Options } from './options'; | ||
import { SquirrelWindowsOptions } from './options'; | ||
export { SquirrelWindowsOptions } from './options'; | ||
export { SquirrelWindowsOptions as Options } from './options'; | ||
export declare function convertVersion(version: string): string; | ||
export declare function createWindowsInstaller(options: Options): Promise<void>; | ||
export declare function createWindowsInstaller(options: SquirrelWindowsOptions): Promise<void>; |
@@ -48,3 +48,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var asar = __importStar(require("asar")); | ||
var asar = __importStar(require("@electron/asar")); | ||
var temp_utils_1 = require("./temp-utils"); | ||
@@ -112,3 +112,3 @@ var fs = __importStar(require("fs-extra")); | ||
description: '', | ||
iconUrl: 'https://raw.githubusercontent.com/electron/electron/master/shell/browser/resources/win/electron.ico' | ||
iconUrl: 'https://raw.githubusercontent.com/electron/electron/main/shell/browser/resources/win/electron.ico' | ||
}; | ||
@@ -122,3 +122,3 @@ if (!(options.usePackageJson !== false)) return [3 /*break*/, 8]; | ||
if (!_e.sent()) return [3 /*break*/, 5]; | ||
appMetadata = JSON.parse(asar.extractFile(asarFile, 'package.json')); | ||
appMetadata = JSON.parse(asar.extractFile(asarFile, 'package.json').toString()); | ||
return [3 /*break*/, 7]; | ||
@@ -125,0 +125,0 @@ case 5: return [4 /*yield*/, fs.readJson(path.join(appResources, 'app', 'package.json'))]; |
@@ -1,2 +0,2 @@ | ||
export interface Options { | ||
export interface SquirrelWindowsOptions { | ||
/** | ||
@@ -3,0 +3,0 @@ * The folder path of your Electron app |
{ | ||
"name": "electron-winstaller", | ||
"version": "5.0.0", | ||
"version": "5.1.0", | ||
"description": "Module to generate Windows installers for Electron apps", | ||
@@ -22,3 +22,3 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"asar": "^2.0.1", | ||
"@electron/asar": "^3.2.1", | ||
"debug": "^4.1.1", | ||
@@ -40,3 +40,2 @@ "fs-extra": "^7.0.1", | ||
"eslint-plugin-ava": "^7.1.0", | ||
"semantic-release": "^15.13.3", | ||
"ts-node": "^8.1.0", | ||
@@ -43,0 +42,0 @@ "typescript": "^3.4.5" |
# Electron Installer | ||
[![AppVeyor Build status](https://ci.appveyor.com/api/projects/status/bq6c06suq5abb66s/branch/master?svg=true)](https://ci.appveyor.com/project/electron-bot/windows-installer/branch/master) | ||
[![CircleCI](https://circleci.com/gh/electron/windows-installer.svg?style=svg)](https://circleci.com/gh/electron/windows-installer) | ||
@@ -5,0 +4,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29968519
12
583
178
+ Added@electron/asar@^3.2.1
+ Added@electron/asar@3.2.17(transitive)
+ Addedcommander@5.1.0(transitive)
- Removedasar@^2.0.1
- Removed@types/glob@7.2.0(transitive)
- Removed@types/minimatch@5.1.2(transitive)
- Removed@types/node@22.9.1(transitive)
- Removedasar@2.1.0(transitive)
- Removedbluebird@3.7.2(transitive)
- Removedchromium-pickle-js@0.2.0(transitive)
- Removedcommander@2.20.3(transitive)
- Removedcuint@0.2.2(transitive)
- Removedtmp@0.1.0(transitive)
- Removedtmp-promise@1.1.0(transitive)
- Removedundici-types@6.19.8(transitive)