Skip to content

Commit

Permalink
Disable publishing, fix packaged build, fix names
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadwey committed Feb 3, 2024
1 parent 8fe29aa commit c3ef406
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 11 deletions.
5 changes: 3 additions & 2 deletions electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ asarUnpack:
- resources/**
win:
executableName: "SE3 Launcher"
artifactName: ${name}-${version}-${os}-${arch}-portable.${ext}
icon: build/icon.ico
target: [nsis, zip]
target: [nsis, zip, portable]
nsis:
artifactName: ${name}-${version}-setup.${ext}
artifactName: ${name}-${version}-${os}-${arch}-setup.${ext}
shortcutName: ${productName}
uninstallDisplayName: ${productName}
oneClick: false
Expand Down
5 changes: 0 additions & 5 deletions electron.vite.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,5 @@ export default defineConfig({
},
},
plugins: [react()],
build: {
rollupOptions: {
external: "@tabler/icons-react"
},
}
},
});
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
"dev": "electron-vite dev",
"build": "electron-vite build",
"postinstall": "electron-builder install-app-deps",
"build:unpack": "npm run build && electron-builder --dir",
"build:win": "npm run build && electron-builder --win",
"build:linux": "npm run build && electron-builder --linux"
"build:unpack": "npm run build && electron-builder --dir --publish never",
"build:win": "npm run build && electron-builder --win --publish never",
"build:linux": "npm run build && electron-builder --linux --publish never"
},
"dependencies": {
"@electron-toolkit/preload": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/preload/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { contextBridge, ipcRenderer, shell } from "electron";
import { contextBridge, ipcRenderer } from "electron";
import "./versionManager";
import IpcMessages from "../common/IpcMessages";

Expand Down

0 comments on commit c3ef406

Please sign in to comment.