dawenxi-tech / 2fa

A 2FA desktop application.
MIT License
2 stars 1 forks source link

macapp and dmg template error #2

Closed gedw99 closed 9 months ago

gedw99 commented 9 months ago

looks like I need a 2FA.dmg as a template ?

023/11/23 08:53:17 [INFO] Copying dist/release/macos/2fa to dist/release/macos-release/2FA.app/Contents/MacOS/2fa
2023/11/23 08:53:17 [INFO] Copying 2FA.dmg to ./tmp.dmg
2023/11/23 08:53:17 [ERROR] Making DMG from template: making copy of template DMG: stat 2FA.dmg: no such file or directory
heramerom commented 9 months ago

Please try the latest code, and make sure you have to install create-dmg command.

gedw99 commented 9 months ago

thanks @heramerom !!

gedw99 commented 9 months ago

I have a 2FA.dmg now.

So am a little bit further. Now am getting a read only file system error. DO you get this ? it might be my 2FA.dmg

2023/11/23 09:51:48 [INFO] Copying dist/release/macos/2fa to dist/release/macos-release/2FA.app/Contents/MacOS/2fa
2023/11/23 09:51:48 [INFO] Copying 2FA.dmg to ./tmp.dmg
2023/11/23 09:51:48 [ERROR] Making DMG from template: copying app into dmg: mkdir tmp/2FA.app: read-only file system
heramerom commented 9 months ago

Yes, I have same error some days ago, but i repair it last night. Please pull latest code from github and try again.

gedw99 commented 9 months ago

Ok I will thanks.

gedw99 commented 9 months ago

works !! thanks @DawenxiTech