forked from TTLApp/time-to-leave
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix husky pre-commit hook (TTLApp#1017)
* Fix TTLApp#1016: Fixing pre-commit hook * Running npm run lint-fix
- Loading branch information
1 parent
53978ef
commit 8026942
Showing
7 changed files
with
43 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,6 @@ | |
|
||
<!--- Begin changes - Do not remove --> | ||
|
||
|
||
<!--- End changes - Do not remove --> | ||
|
||
Who built 3.0.1: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,25 @@ | ||
const createWindowsInstaller = require('electron-winstaller').createWindowsInstaller | ||
const createWindowsInstaller = require('electron-winstaller').createWindowsInstaller; | ||
|
||
getInstallerConfig() | ||
.then(createWindowsInstaller) | ||
.catch((error) => { | ||
console.error(error.message || error) | ||
process.exit(1) | ||
}) | ||
.then(createWindowsInstaller) | ||
.catch((error) => | ||
{ | ||
console.error(error.message || error); | ||
process.exit(1); | ||
}); | ||
|
||
function getInstallerConfig () { | ||
console.log('creating windows installer') | ||
function getInstallerConfig() | ||
{ | ||
console.log('creating windows installer'); | ||
|
||
return Promise.resolve({ | ||
appDirectory: 'release-builds/Time to Leave-win32-ia32', | ||
outputDirectory: 'packages', | ||
exe: 'Time To Leave.exe', | ||
setupIcon: 'assets/icon-win.ico', | ||
setupExe: 'TimeToLeaveInstaller.exe', | ||
noMsi: true, | ||
loadingGif: 'assets/installer.gif', | ||
iconUrl: 'https://raw.githubusercontent.com/thamara/time-to-leave/main/assets/icon-win.ico', | ||
}) | ||
return Promise.resolve({ | ||
appDirectory: 'release-builds/Time to Leave-win32-ia32', | ||
outputDirectory: 'packages', | ||
exe: 'Time To Leave.exe', | ||
setupIcon: 'assets/icon-win.ico', | ||
setupExe: 'TimeToLeaveInstaller.exe', | ||
noMsi: true, | ||
loadingGif: 'assets/installer.gif', | ||
iconUrl: 'https://raw.githubusercontent.com/thamara/time-to-leave/main/assets/icon-win.ico', | ||
}); | ||
} |