Pake icon indicating copy to clipboard operation
Pake copied to clipboard

[Bug] Linux Mint click .deb "unable to open myapp.deb The package may be corrupted, or you don't have permissions to access it. Check the file permissions."

Open lguigo22 opened this issue 11 months ago • 1 comments

Search before asking

  • [X] 我在 issues 列表中搜索,没有找到类似的内容。 I searched in the issues and found nothing similar.

Pake version

3.1.1

System version

Linux Mint 21.2 Cinnamon

Node.js version

20.17

Minimal reproduce step

building is OK but .deb problem

➜ ~ pake https://xxx.rrrr.fr/ --name activites --multi-arch --targets deb ✼ No icon given, default in use. For a custom icon, use --icon option. ✸ Installing package...

up to date in 297ms

69 packages are looking for funding ✔ Package installed! pakeConfig { windows: [ { url: 'https://xxx.rrrr.fr/', url_type: 'web', hide_title_bar: false, fullscreen: false, width: 1200, height: 780, resizable: true, always_on_top: false, dark_mode: false, activation_shortcut: '', disabled_web_shortcuts: false } ], user_agent: { macos: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.1 Safari/605.1.15', linux: 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36', windows: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36' }, system_tray: { macos: false, linux: false, windows: true }, system_tray_path: '/home/me/.nvm/versions/node/v20.17.0/lib/node_modules/pake-cli/src-tauri/png/icon_512.png', inject: [], proxy_url: '' } ✶ Building app...

[email protected] build npm run tauri build --release ✺ Building app...

[email protected] tauri tauri build ✶ Building app... Finished release profile [optimized] target(s) in 35.85s Built application at: /home/me/.nvm/versions/node/v20.17.0/lib/node_modules/pake-cli/src-tauri/target/release/pake Bundling activites_1.0.0_amd64.deb (/home/me/.nvm/versions/node/v20.17.0/lib/node_modules/pake-cli/src-tauri/target/release/bundle/deb/activites_1.0.0_amd64.deb) Finished 1 bundle at: /home/me/.nvm/versions/node/v20.17.0/lib/node_modules/pake-cli/src-tauri/target/release/bundle/deb/activites_1.0.0_amd64.deb

✔ Build success! ✔ App installer located in /home/me/activites.deb

What did you expect to see?

working executable file

What did you see instead?

bad executable file image

or

➜ ~ gdebi activites.deb
Reading package lists... Done Building dependency tree... Done Reading state information... Done Failed to open software package This package may be corrupted, or you do not have permissions to access it. Check the file permissions.

Anything else?

No response

Are you willing to submit a PR?

  • [ ] I'm willing to submit a PR!

lguigo22 avatar Jan 15 '25 14:01 lguigo22

Too bad, the tool seemed simple but it doesn't work

lguigo22 avatar Feb 17 '25 08:02 lguigo22

Sorry, it's my fault. I haven't tested it on Linux yet. The current [email protected] version has optimized this problem. You can try it directly. The detailed code changes can be seen at https://github.com/tw93/Pake/commit/9c36a998b4323aab66d50f88eabee25991b0f04d

tw93 avatar Sep 05 '25 07:09 tw93

I prefer use https://github.com/tw93/Pake/blob/main/docs/github-actions-usage.md thanks

lguigo22 avatar Oct 22 '25 08:10 lguigo22