Skip to content

Commit

Permalink
feat: update... Enable Auto update #40
Browse files Browse the repository at this point in the history
  • Loading branch information
hrenaud committed Aug 15, 2024
1 parent 9f7fa89 commit 74e6f9d
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 24 deletions.
11 changes: 1 addition & 10 deletions electron-app/ecoindex-app/.release-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,8 @@
"github": {
"release": false,
"autoGenerate": false,
"releaseNotes": "git log --pretty=format:\"* %s (%h)\" ${from}...${to}",
"releaseName": "Release Electron-app ${version}",
"assets": [
"./out/make/zip/darwin/arm64/*.zip",
"./out/make/zip/darwin/x64/*.zip",
"./out/make/*.dmg",
"./out/make/zip/win32/arm64/*.zip",
"./out/make/zip/win32/x64/*.zip",
"./out/make/squirrel.windows/arm64/*.exe",
"./out/make/squirrel.windows/x64/*.exe"
]
"releaseNotes": "npx auto-changelog --stdout --commit-limit false -u --template https://raw.githubusercontent.com/release-it/release-it/master/templates/changelog-compact.hbs"
},
"npm": {
"publish": false
Expand Down
2 changes: 1 addition & 1 deletion electron-app/ecoindex-app/forge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const config: ForgeConfig = {
platforms: ['win32'],
config: (arch: string) => {
return {
setupExe: `${packageJson.name}-win32-${arch}-${version} Setup.exe`,
setupExe: `EcoindexApp-win32-${arch}-${version} Setup.exe`,
setupIcon: path.resolve(__dirname, 'assets', 'app-ico.ico'),
// certificateFile: './cert.pfx',
// certificatePassword: process.env.CERTIFICATE_PASSWORD,
Expand Down
66 changes: 53 additions & 13 deletions electron-app/ecoindex-app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions electron-app/ecoindex-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/typography": "^0.5.13",
"@vscode/sudo-prompt": "^9.3.1",
"auto-changelog": "^2.4.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"electron-log": "^5.1.7",
Expand Down

0 comments on commit 74e6f9d

Please sign in to comment.