Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved electron into altair-electron package.
- Loading branch information
Showing
54 changed files
with
6,017 additions
and
92 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
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,24 +1,29 @@ | ||
#!/bin/bash | ||
|
||
# !!! TODO: Remove as deprecated | ||
# Remove any electron-builds directory | ||
rm -rf electron-builds | ||
# rm -rf electron-builds | ||
|
||
# Create a new electron-builds directory | ||
mkdir electron-builds | ||
# mkdir electron-builds | ||
|
||
# Build the angular app | ||
npm run build | ||
# npm run build | ||
|
||
# Fix the base href path for the electron app | ||
./electron/fix-base-path.sh | ||
# ./electron/fix-base-path.sh | ||
|
||
# Make the electron apps | ||
# npm run make | ||
npm run dist-electron | ||
# npm run dist-electron | ||
|
||
# Package the electron app | ||
# ./node_modules/electron-packager/cli.js . Altair --out=electron-builds --overwrite --icon=electron/logo.icns | ||
|
||
./node_modules/.bin/lerna bootstrap | ||
|
||
./node_modules/.bin/lerna run --scope altair-electron build | ||
|
||
# Snippet: | ||
# Remove git tags | ||
# git push --delete origin add-compilerc.11 add-compilerc.12 && git tag -d add-compilerc.11 add-compilerc.12 |
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 was deleted.
Oops, something went wrong.
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
22 changes: 7 additions & 15 deletions
22
electron-builder.yml → ...ages/altair-electron/electron-builder.yml
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
require('./src/main'); |
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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"name": "altair-electron", | ||
"version": "2.3.5", | ||
"description": "Electron wrapper for Altair", | ||
"main": "index.js", | ||
"author": "Samuel Imolorhe <samuelimolo4real@gmail.com> (https://sirmuel.design/)", | ||
"license": "MIT", | ||
"scripts": { | ||
"test": "mocha --full-trace __tests__", | ||
"build": "electron-builder", | ||
"dev": "electron ." | ||
}, | ||
"dependencies": { | ||
"altair-static": "^2.3.5", | ||
"electron-debug": "^3.0.1", | ||
"electron-is-dev": "^1.1.0", | ||
"electron-log": "^3.0.6", | ||
"electron-squirrel-startup": "^1.0.0", | ||
"electron-updater": "^4.1.2", | ||
"electron-util": "^0.12.1", | ||
"electron-window-state": "^5.0.3", | ||
"mime-types": "^2.1.24" | ||
}, | ||
"devDependencies": { | ||
"devtron": "^1.4.0", | ||
"dotenv": "^8.1.0", | ||
"electron": "4.2.9", | ||
"electron-builder": "^21.1.1", | ||
"electron-chromedriver": "^6.0.0-beta.3", | ||
"electron-compile": "^6.4.4", | ||
"electron-notarize": "^0.1.1", | ||
"electron-prebuilt-compile": "^4.0.0", | ||
"electron-reloader": "^0.3.0", | ||
"mocha": "^6.2.0", | ||
"spectron": "6.0.0" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/imolorhe/altair.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/imolorhe/altair/issues" | ||
}, | ||
"collective": { | ||
"type": "opencollective", | ||
"url": "https://opencollective.com/altair", | ||
"logo": "https://opencollective.com/altair/logo.txt" | ||
} | ||
} |
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
Oops, something went wrong.