Skip to content

Commit

Permalink
Add steps
Browse files Browse the repository at this point in the history
  • Loading branch information
Kitenite committed Jul 10, 2024
1 parent 6cc3d8a commit f5b62ef
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@ jobs:
with:
node-version: 18

- name: Create necessary directories
if: matrix.os == 'ubuntu-latest'
run: |
mkdir -p app/release/0.0.1/@onlook
- name: Set permissions
if: matrix.os == 'ubuntu-latest'
run: |
sudo chown -R $USER:$USER app/release
chmod -R 755 app/release
- name: Build/release Electron app
uses: samuelmeuli/action-electron-builder@v1
with:
Expand Down
7 changes: 4 additions & 3 deletions app/electron-builder.json5
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@
"artifactName": "${productName}_${version}.${ext}"
},
"linux": {
"target": ["AppImage", "deb"],
"category": "Utility"
},
"target": ["deb", "AppImage"],
"category": "Development"
}
}
"nsis": {
"oneClick": false,
"perMachine": false,
Expand Down
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"productName": "onlook",
"productName": "Onlook",
"name": "@onlook/browser",
"version": "0.0.1",
"homepage": "https://onlook.dev",
Expand Down

0 comments on commit f5b62ef

Please sign in to comment.