NativeScript / NativeScript/nativescript-cli
Release build key path accepts only absolute paths on Windows (can be relative on MAC)
未關閉
還沒有人認領這個 Issue。
bug
build
os: android
os: windows
run
- 主要語言
- JavaScript
- 星號
- 1.1k
- 分支
- 204
- 平均合併
- 1 天 9 小時
- 30 天內合併 PR
- 8
描述
On Windows, building in release for Android is accepting only absolute path for the keygen.
e.g.
Windows
tns run android --bundle --release --for-device --key-store-path D:\my-release-key.jks --key-store-password <pass>--key-store-alias <alias>--key-store-alias-password <alias-pass>
On Windows only absolute paths are accepted - in this case the key is sotre d in D:
MAC
tns run android --bundle --release --for-device --key-store-path ./my-release-key.jks --key-store-password <pass>--key-store-alias <alias>--key-store-alias-password <alias-pass>
On MAC the path cna be relative to the root project e.g in this case the key is store in <project-folder>/my-release-key.jks
Using next versions of CLI, modules, nativescript-angular and dev-WebPack plugins.(demo app here)
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
使用文件中記載的 --key-store-path 命令重現 Windows release Android build,然後將其與 macOS 所示的相對路徑命令進行比較。追蹤 NativeScript CLI 在 release build 期間如何解析 --key-store-path;當專案相對的 keystore 路徑在 Windows 上和絕對路徑一樣被接受時,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- android, javascript
- 領域
- cli, mobile
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100