App crashes when using appdmg built with node 14
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- javascript, node.js
- 領域
- build-system, desktop
調査の方向性
appdmg.js の 371 行目から始めます。ここでは「Making all the visuals」ステップ中に ds.setBackgroundPath が呼び出されます。提供された Node 14 と NW.js のバージョンで失敗を再現してください。ds-store の背景パス処理を調査します。DMG がクラッシュせずに作成され、背景のビジュアルが保持されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
MacOS High Sierra 10.13.6
NW.js 0.41.3 (node 12.12.0) works OK with appdmg installed with 12.18.0
NW.js 0.48.3 (node 14.11.0) FAILS with appdmg installed with 14.9.0
App crashes in the 'Making all the visuals' step. If the ds.write is skipped then appdmg will successfully create a DMG but with no visuals.
The code that is causing the issue is the ds.setBackgroundPath line - if this is commented out then again a good DMG will be created but with no background visuals.
The other bits of the visuals steps appear OK.
A console.log prior to this line shows the same format whether appdmg is using node 12 or 14 but only fails with 14 install.
appdmg.js L371 ds.setBackgroundPath(path.join(global.temporaryMountPath, global.bkgname))
gives eg: /Volumes/PepperFlash Install 18/.background/dmgback.tiff
Seems like appdmg installed with node 14 doesn't like tiff being written to the ds-store module.
The original image being used for the background was dmgback.png (82k) which obviously gets converted to a tiff.
appdmg.json -
{
"title": "PepperFlash Install",
"background": "Extras/dmg/dmgback.png",
"icon": "Extras/dmg/dmg.icns",
"contents": [
{
"x": 260,
"y": 350,
"type": "link",
"path": "/Applications"
},
{
"x": 90,
"y": 350,
"type": "file",
"path": "application.app"
},
{
"x": 490,
"y": 350,
"type": "file",
"path": "Extras/dmg/readme.txt"
},
{
"x": 512,
"y": 900,
"type": "position",
"path": ".VolumeIcon.icns"
}
]
}
- 主要言語
- JavaScript
- スター
- 1.7k
- フォーク
- 158
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
LinusU/node-appdmg のほかの issue
-
Security: vulnerable dependency image-size (CVE-2025-71329/71330) — maintained drop-in availableオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 58/100
LinusU/node-appdmg#249 ·
-
Security: vulnerable dependency image-size (CVE-2025-71329/71330) — maintained drop-in availableオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
LinusU/node-appdmg#248 ·
-
Security: vulnerable dependency image-size (CVE-2025-71329/71330) — maintained drop-in availableオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 52/100
LinusU/node-appdmg#247 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
LinusU/node-appdmg#245 ·
-
Install failedオープン
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
LinusU/node-appdmg#244 · コメント 1 件 ·
LinusU/node-appdmg の issue をすべて見る
似ている issue
-
新讀者走讀回報,照著一篇文章實際操作オープンdocumentation good first issue help wanted
難易度 1/5 1〜3時間 初心者へのやさしさ 92/100
メンテナーはふだん 1 日以内に返信
-
automated issue report
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
lirantal/discoprint#29 ·
メンテナーはふだん 1 日以内に返信
-
feature-request
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
louislam/uptime-kuma#7914 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Code Cleanup dependencies
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
ProjectSidewalk/SidewalkWebpage#5609 ·
メンテナーはふだん 1 日以内に返信
-
help wanted javascript
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
OWASP/cornucopia#3538 ·
メンテナーはふだん 1 日以内に返信