Skip to content

Commit

Permalink
fix!: broken linux- and mac-builds (#28)
Browse files Browse the repository at this point in the history
duct-taped: using a patched fs-extra which then will be used by a
patched electron-forge-plugin-vite 🙈

I don't see me opening up a PR at fs-extra, because there is at least
one open issue (since about a year..) which describes this issue very
well with a proposed fix, which the author don't want.. so I don't
really care, just fixing my stuff 🙈
  • Loading branch information
gorillamoe authored May 19, 2024
1 parent 88938ad commit 37113ce
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 63 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
BIN_NAME = timetrack

macos:
PLATFORM=macos ./scripts/build.sh
PLATFORM=macos DEBUG=electron-packager ./scripts/build.sh

linux:
PLATFORM=linux ./scripts/build.sh
PLATFORM=linux DEBUG=electron-packager ./scripts/build.sh

windows:
PLATFORM=windows ./scripts/build.sh
PLATFORM=windows DEBUG=electron-packager ./scripts/build.sh

archives:
CREATE_ARCHIVES=1 PLATFORM=linux ./scripts/release.sh
Expand Down
2 changes: 1 addition & 1 deletion forge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { MakerSquirrel } from '@electron-forge/maker-squirrel'
import { MakerDeb } from '@electron-forge/maker-deb'
import { MakerRpm } from '@electron-forge/maker-rpm'
import { MakerDMG } from '@electron-forge/maker-dmg'
import { VitePlugin } from '@electron-forge/plugin-vite'
import { VitePlugin } from '@mistweaverco/electron-forge-plugin-vite'
import { FusesPlugin } from '@electron-forge/plugin-fuses'
import { FuseV1Options, FuseVersion } from '@electron/fuses'
import path from 'path'
Expand Down
114 changes: 57 additions & 57 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "timetrack",
"productName": "timetrack",
"version": "3.3.0",
"version": "3.4.0",
"description": "Simple desktop application to track your time spent on different projects.",
"main": ".vite/build/main.js",
"scripts": {
Expand Down Expand Up @@ -37,7 +37,7 @@
"@electron-forge/maker-zip": "7.4.0",
"@electron-forge/plugin-auto-unpack-natives": "7.4.0",
"@electron-forge/plugin-fuses": "7.4.0",
"@electron-forge/plugin-vite": "7.4.0",
"@mistweaverco/electron-forge-plugin-vite": "7.4.2",
"@electron/fuses": "1.8.0",
"@types/js-yaml": "4.0.9",
"@types/react": "18.3.2",
Expand Down

0 comments on commit 37113ce

Please sign in to comment.