Skip to content
Snippets Groups Projects
Commit ea07017c authored by Skander Hatira's avatar Skander Hatira
Browse files

attempting asar packaging

parent a187c7d2
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@ variables:
DATABASE: "mongodb://%2Ftmp%2Fbisspropmongodb.sock"
GIT_SUBMODULE_STRATEGY: normal
build:
make-linux:
image: node:latest
stage: build
script:
......@@ -26,3 +26,23 @@ build:
- $CI_PROJECT_DIR/out/make/rpm/x64/*.rpm
only:
- master
make-win32:
image: electronuserland/builder:wine-mono-05.21
stage: build
script:
- apt-get update -y
- apt-get install -y cmake rpm fakeroot dpkg
- cd $CI_PROJECT_DIR/src/backend
- yarn install
- cd $CI_PROJECT_DIR/
- yarn install
- rm -rf /root/.wine
- winecfg
- yarn make --platform win32 --target @electron-forge/maker-squirrel
artifacts:
expire_in: 1 week
paths:
- $CI_PROJECT_DIR/out/make/squirrel.windows/x64/*.exe
- $CI_PROJECT_DIR/out/make/squirrel.windows/x64/*.nupkg
only:
- master
......@@ -20,7 +20,9 @@
"license": "MIT",
"config": {
"forge": {
"packagerConfig": {},
"packagerConfig": {"asar":{ "unpack": "**/.webpack/main/resources/**/*",
"unpackDir": "./resources/app.asar"}
},
"makers": [
{
"name": "@electron-forge/maker-deb",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment