-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* created manifst file * flatpak support * fixing configs * fixing configs * fixing configs * trying to use network to fix the caching issues * fixed npm cache issuesgit add .git add . * fixed sandbox perms * removed uneeded files * working on the build stage * typo * typo * install lerna gloably * fixing stuff * fixing path * fixing path * updated readme * updated name * renamed app * updated to flathub version * Delete CHANGELOG.md
- Loading branch information
advaithm
authored
Jul 4, 2020
1 parent
b6ba939
commit a2e2194
Showing
4 changed files
with
100 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,3 +73,7 @@ jsconfig.json | |
|
||
#lerna | ||
lerna-debug.log | ||
|
||
#flatpak | ||
.flatpak-builder | ||
build-dir |
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 +1 @@ | ||
package-lock=false | ||
package-lock=False |
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,77 @@ | ||
{ | ||
"app-id": "org.js,nuclear.Nuclear", | ||
"runtime": "org.freedesktop.Platform", | ||
"runtime-version": "19.08", | ||
"branch": "19.08", | ||
"sdk": "org.freedesktop.Sdk", | ||
"base": "io.atom.electron.BaseApp", | ||
"command": "run.sh", | ||
"finish-args": [ | ||
"--share=network", | ||
"--share=ipc", | ||
"--socket=x11", | ||
"--filesystem=host" | ||
], | ||
"build-options" : { | ||
"build-args": [ "--share=network" ], | ||
"cflags": "-O2 -g", | ||
"cxxflags": "-O2 -g", | ||
"env": { | ||
"NPM_CONFIG_LOGLEVEL": "info" | ||
} | ||
}, | ||
"modules": [ | ||
{ | ||
"name": "nodejs", | ||
"cleanup": [ | ||
"/include", | ||
"/share", | ||
"/app/lib/node_modules/npm/changelogs", | ||
"/app/lib/node_modules/npm/doc", | ||
"/app/lib/node_modules/npm/html", | ||
"/app/lib/node_modules/npm/man", | ||
"/app/lib/node_modules/npm/scripts" | ||
], | ||
"sources": [ | ||
{ | ||
"type": "archive", | ||
"url": "https://github.com/nodejs/node/archive/v14.5.0.zip", | ||
"sha256": "b7e6ec14abc67879460d3693d95d6b0e8cc0beedbb6b946d61989575f7b544a7" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "nuclear", | ||
"build-options" : { | ||
"env": { | ||
"electron_config_cache": "/run/build/nuclear/npm-cache" | ||
} | ||
}, | ||
"buildsystem": "simple", | ||
"sources": [ | ||
{ | ||
"type": "archive", | ||
"url": "https://github.com/nukeop/nuclear/archive/v0.6.3.zip", | ||
"sha256": "88101d4cacce0b9e9e7389656a8bd7a039e77fa16214a75c5c960f4052a3ed74", | ||
"dest":"main" | ||
}, | ||
{ | ||
"type": "script", | ||
"dest-filename": "run.sh", | ||
"commands": [ "/app/main/nuclear" ] | ||
} | ||
|
||
], | ||
"build-commands": [ | ||
"npm install --prefix=main", | ||
"npm install -g lerna", | ||
"cd main && lerna bootstrap", | ||
"cd ..", | ||
"npm run build --prefix=main", | ||
"mkdir -p /app/main /app/bin", | ||
"cp -ra main/release/linux-unpacked/* /app/main/", | ||
"install run.sh /app/bin/" | ||
] | ||
} | ||
] | ||
} |