๋ณ๋ค:
๋ด ์ปดํจํฐ์ ์ฑ๊ณต์ ์ผ๋ก ๊ตฌ์ถํ์ต๋๋ค.
$ git pull
Already up to date.
Current branch master is up to date.
$ yarn install
yarn install v1.21.1
[1/4] ๐ Resolving packages...
success Already up-to-date.
โจ Done in 0.49s.
$yarn build
yarn run v1.21.1
$ webpack -p
(node:21396) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
...
[558] ./src/index.tsx + 62 modules 779 KiB {0} [built]
| ./src/index.tsx 1.23 KiB [built]
| ./assets/fonts/Roboto-Light.ttf 59 bytes [built]
| ./assets/fonts/Roboto-Medium.ttf 59 bytes [built]
| ./src/utils/paths.ts 555 bytes [built]
| ./src/supervisor/supervisor.ts 2.18 KiB [built]
| ./src/main-window.tsx 1.9 KiB [built]
| ./src/utils/on-process-exit.ts 686 bytes [built]
| ./src/tray/tray.ts 769 bytes [built]
| ./assets/logo.svg 59 bytes [built]
| ./src/config.ts 226 bytes [built]
| ./src/ui-kit/typography.ts 413 bytes [built]
| ./src/app.tsx 3.27 KiB [built]
| ./src/tray/quit.ts 700 bytes [built]
| ./src/tray/repair.ts 722 bytes [built]
| ./src/daemon/store.ts 5.63 KiB [built]
| + 48 hidden modules
+ 544 hidden modules
โจ Done in 4.84s.
$yarn packer
...
stderr: Log:
Log: Creating disk image (.dmg) for "MysteriumVPN.app"
Log: Image will use "HFS+"
Build successful. Find the dmg/app at /Users/jaro/Dev/Projects/MysteriumNetwork/mysterium-vpn-desktop/deploy/darwin/build
โจ Done in 14.89s.
๊ทธ๋ฐ ๋ค์ MysteriumVPN.app
๋ฅผ Applications ํด๋๋ก ์๊ทผํ ์ฎ๊ฒจ์ ์คํํ์ต๋๋ค. ๊ทธ๋ฌ๋ ํ์ธ๋์ง ์์ App Store ๊ฐ๋ฐ์์ ์ฑ์ ์๋ฝํ๋ ค๋ฉด System Preferences > Security & Privacy
์ ๋ค์ด๊ฐ์ผ ํ์ต๋๋ค.
@tadaskay
์๋ช
ํ ๋๋ ๋ค์ ์ค๋ฅ๊ฐ ๋ฐ์ํฉ๋๊น?
ํ์ค ์ค๋ฅ: ๋ก๊ทธ: ์ฝ๋ ์ค๊ณ "/Users/contra/dev/appone/desktop-vpn2/deploy/darwin/build/Portals.app/Contents/MacOS/qode"
stderr: ๋ก๊ทธ: ID "xxx"๋ก "Portals.app" ์ฝ๋ ์ค๊ณ ์๋ฃ
stderr: ์ค๋ฅ: ์ฝ๋ ์ค๊ณ ํ์ธ ์ค๋ฅ:
์ค๋ฅ: "Portals.app: ์ฝ๋์ ๋ฆฌ์์ค๊ฐ ์์ง๋ง ์๋ช
์ ๋ฆฌ์์ค๊ฐ ์์ด์ผ ํจ์ ๋ํ๋
๋๋ค."
๋ํ ๋ฆด๋ฆฌ์ค์ ๊ฒ๊ณผ ๋ค๋ฅผ ์ ์์ผ๋ฏ๋ก ์ค์ผ๋ ํค /deploy/darwin/MysteriumVPN.app์ ์ ๋ฐ์ดํธํ ์ ์์ต๋๊น? ๋ด๊ฐ ์ฌ๋ฐ๋ฅธ ๋น๋๋ฅผ ๋ง๋ค๊ฒ).
https://stackoverflow.com/questions/27952111/unable-to-sign-app-bundle-using-qt-frameworks-on-os-x-10-10/28097138#28097138 ๋ ์ฐธ์กฐํ์ญ์์ค.
๊ทธ๋ค์ ๋์ ํ๋ก์ ํธ ๊ตฌ์กฐ๋ฅผ ์ธ๊ธํ๊ณ ์์ต๋๋ค.
์ฌ์ฉ ์ค์ธ ์ค์ผ๋ ํค์ ์ ๋ฐ์ดํธํ์ญ์์ค. ์ด๊ฒ์ด ๋ฒ์ธ์ด๋ผ๊ณ ์๊ฐํฉ๋๋ค.
@chompomonim ๋น์ ์ด ์ง์ ๋ง๋ ์ฑ์ ์ฌ๋ ์ค์
๋๋ค. ๋ฌผ๋ก ์๋ํฉ๋๋ค. ๋์ ๋ค์์ ์๋ํด ๋ณด์ธ์.
๋น๋ํ ํ ์ผ๋ถ ์น์ฌ์ดํธ์์ ์
๋ก๋/๋ค์ด๋ก๋๋ฅผ ์๋ํ ๋ค์ ์์ถ์ ํ๊ณ ์ด์ด์ ์๋ํ๋์ง ํ์ธํ์ญ์์ค.
๊ทธ๊ฒ์ด ๋ง์คํฐ์์ ๋ฐ๋ก ๋์จ ์ฝ๋์ ๋ํด ์๋ํ๋ ๊ฒฝ์ฐ(์ฆ, ์ผ๋ถ ๋
์ ์ค์ผ๋ ํค์ด ์๋ ๋ง์คํฐ์์ ์ค์ผ๋ ํค์ ์ฌ์ฉํ๋ ๊ฒฝ์ฐ) ๋ด ์๋ช
ํค์ ๋ฌธ์ ๊ฐ ์์ ์ ์์ต๋๋ค.
์ด์ ๋ฐ์คํฌํฑ ์ฑ์์ ์๋ฒฝํ๊ฒ ์๋ํ์ง๋ง ๊ณต์ฆ์ ์ถ๊ฐ๋ก ์ฌ์ฉํ์ต๋๋ค.
๋ด ๋น๋๋ฅผ ์๋ฅผ ๋ค์ด ๊ฒ์ ๋๋ฅผ ์ํด ์๋ํ์ง ์๋ : https://wetransfer.com/downloads/c36c495afdb3b6729dbf0aa523c04a5920200407172843/e4a9a24a28cec76ab6a011915446666620200407172843/ce526b?utm_campaign=WT_email_tracking&utm_content=general&utm_medium=download_button&utm_source=notify_recipient_email
package.json์์ ์ฃผ์ ๋ฒ๊ทธ๋ฅผ ์ฐพ์ ๊ฒ ๊ฐ์ต๋๋ค.
์ฑ์ ์๋ช
์ ์๋ํ๋ --sign xxxx๊ฐ ํฌํจ๋์ด ์์ต๋๋ค.
๊ทธ๋ฌ๋ ์ ํจํ ํค๋ก ์๋ํ์ง ์์ต๋๋ค.
Mysterium ๋น๋์์๋ ์ผ์ข
์ ๊ฐ์ง ID๋ฅผ ์ฌ์ฉํ๊ฑฐ๋ --sign์ ์๋ตํ๋ค๊ณ ๊ฐ์ ํฉ๋๋ค.
codedesign -dv --verbose=4 MysteriumVPN.app
MysteriumVPN.app: ์ฝ๋ ๊ฐ์ฒด๊ฐ ์ ํ ์๋ช
๋์ง ์์์ต๋๋ค.
๊ทธ๊ฒ์ด ๋ด๊ฐ ์ค์ ๋ก ์๋ช ํ๊ณ ์๊ธฐ ๋๋ฌธ์ ์ ํ ์๋ํ์ง ์๋ ์ด์ ์ ๋๋ค. ๋น์ ์ ์ ํ ์๋ช ํ์ง ์์ต๋๋ค. ์ด๊ฒ์ 2์ผ์ ๋ญ๋นํ์ต๋๋ค :(
์ด ํ๋ก์ ํธ์ ์๋ช ํ๋ ๋ฐฉ๋ฒ์ ๋ํด nodegui ์์ฑ์์๊ฒ ๋ฌผ์๊ณ ์ ์ฉํ ์ ์์ ์ ๊ณตํ๋ฉด ๋ณด๊ณ ํ ๊ฒ์ ๋๋ค: https://github.com/nodegui/packer/issues/61
์์ฑ์๊ฐ ๋ฒ๊ทธ๋ฅผ ์์ ํ์ต๋๋ค. https://github.com/nodegui/react-nodegui/issues/189#issuecomment -613100678
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
์์ฑ์๊ฐ ๋ฒ๊ทธ๋ฅผ ์์ ํ์ต๋๋ค. https://github.com/nodegui/react-nodegui/issues/189#issuecomment -613100678