Skip to content

Commit

Permalink
this is embarassing
Browse files Browse the repository at this point in the history
me when i chmod before the app is built

ALSO WHY IS WINDOWS STILL FAILING HELP
  • Loading branch information
JovannMC committed Aug 20, 2024
1 parent c52f255 commit d1537a3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- main
paths:
- '.github/workflows/build-ubuntu.yml'
- ".github/workflows/build-ubuntu.yml"
- package.json
workflow_dispatch:
create:
Expand All @@ -31,15 +31,14 @@ jobs:
- name: Install Node.js dependencies
run: npm install

- name: Make app executable on Ubuntu
run: |
chmod +x ./build/SlimeTora-linux-x64/SlimeTora
- name: Build the application
run: npm run build

- name: Make app executable on Ubuntu
run: chmod +x ./build/SlimeTora-linux-x64/SlimeTora

- name: Archive build artifacts for Ubuntu
uses: actions/upload-artifact@v3
with:
name: build-artifacts-linux
path: build/*linux*
path: build/*linux*
4 changes: 2 additions & 2 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- main
paths:
- '.github/workflows/build-windows.yml'
- ".github/workflows/build-windows.yml"
- package.json
workflow_dispatch:
create:
Expand Down Expand Up @@ -37,4 +37,4 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: build-artifacts-win32
path: build/*win32*
path: build/*win32*
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"scripts": {
"start": "npm run preload && electron .",
"dev": "cross-env DEVELOPMENT=true && tsc && npm run copy-files && electron .",
"build": "npm run preload && npx @electron/packager . SlimeTora --platform=win32,linux --arch=x64 --overwrite --out='build/' --icon=src/static/images/icon.ico --asar --extra-resource=src/languages --ignore='^/(src|docs|.vscode|.eslintrc.cjs|.prettierrc|tsconfig.json|README.md|.gitignore)$'",
"build": "npm run preload && npx @electron/packager . SlimeTora --platform=win32,linux --arch=x64 --overwrite --out='build/' --icon=src/static/images/icon.ico --asar --extra-resource=src/languages --ignore='^/(src|.vscode|.eslintrc.cjs|.prettierrc|tsconfig.json|README.md|.gitignore)$'",
"preload": "npx @electron/rebuild && npx del-cli dist/ && tsc && npm run copy-files",
"copy-files": "npx copyfiles -u 1 \"src/**/*.js\" \"src/**/*.html\" \"src/**/*.css\" \"src/**/*.ico\" \"src/**/*.png\" \"src/**/*.webp\" \"src/**/*.webm\" \"src/**/*.svg\" \"src/**/*.fbx\" src/languages/* dist/",
"build-bulma": "npx sass --watch ./src/static/css/index.scss ./src/static/css/index.css",
Expand Down

0 comments on commit d1537a3

Please sign in to comment.