blitzmodder / bmpc Goto Github PK
View Code? Open in Web Editor NEWMod Manager for World of Tanks Blitz (PC)
License: MIT License
Mod Manager for World of Tanks Blitz (PC)
License: MIT License
alpha.5からだいぶかわった
入ってるBlitzのバージョン>=対応バージョン
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'teststart' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'preteststart', 'teststart', 'postteststart' ]
5 info lifecycle [email protected]~preteststart: [email protected]
6 silly lifecycle [email protected]~preteststart: no script for preteststart, continuing
7 info lifecycle [email protected]~teststart: [email protected]
8 verbose lifecycle [email protected]~teststart: unsafe-perm in lifecycle true
9 verbose lifecycle [email protected]~teststart: PATH: ~~省略~~;
10 verbose lifecycle [email protected]~teststart: CWD: C:\Users\s\Documents\GitHub\BMPC
11 silly lifecycle [email protected]~teststart: Args: [ '/d /s /c', 'node_modules\\electron\\dist\\electron.exe bin' ]
12 silly lifecycle [email protected]~teststart: Returned: code: 3221225477 signal: null
13 info lifecycle [email protected]~teststart: Failed to exec teststart script
14 verbose stack Error: [email protected] teststart: `node_modules\electron\dist\electron.exe bin`
14 verbose stack Exit status 3221225477
14 verbose stack at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:245:16)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at EventEmitter.emit (events.js:191:7)
14 verbose stack at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:24:14)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at ChildProcess.emit (events.js:191:7)
14 verbose stack at maybeClose (internal/child_process.js:852:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)
15 verbose pkgid [email protected]
16 verbose cwd C:\Users\s\Documents\GitHub\BMPC
17 error Windows_NT 10.0.14393
18 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "teststart"
19 error node v6.2.1
20 error npm v3.9.3
21 error code ELIFECYCLE
22 error [email protected] teststart: `node_modules\electron\dist\electron.exe bin`
22 error Exit status 3221225477
23 error Failed at the [email protected] teststart script 'node_modules\electron\dist\electron.exe bin'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the BlitzModder package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error node_modules\electron\dist\electron.exe bin
23 error You can get information on how to open an issue for this project with:
23 error npm bugs BlitzModder
23 error Or if that isn't available, you can get their info via:
23 error npm owner ls BlitzModder
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]
各言語を一つのjsonにまとめる
ZIP64
アップデート後、リポジトリや適用先のディレクトリに関わらずエントリーが定義されていないとのエラーにより適用が失敗します。ReferenceError: entry is not defined
T/o'
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'teststart' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'preteststart', 'teststart', 'postteststart' ]
5 info lifecycle [email protected]~preteststart: [email protected]
6 silly lifecycle [email protected]~preteststart: no script for preteststart, continuing
7 info lifecycle [email protected]~teststart: [email protected]
8 verbose lifecycle [email protected]~teststart: unsafe-perm in lifecycle true
9 verbose lifecycle [email protected]~teststart: PATH: ~~省略~~;
10 verbose lifecycle [email protected]~teststart: CWD: C:\Users\s\Documents\GitHub\BMPC
11 silly lifecycle [email protected]~teststart: Args: [ '/d /s /c', 'node_modules\\electron\\dist\\electron.exe bin' ]
12 silly lifecycle [email protected]~teststart: Returned: code: 255 signal: null
13 info lifecycle [email protected]~teststart: Failed to exec teststart script
14 verbose stack Error: [email protected] teststart: `node_modules\electron\dist\electron.exe bin`
14 verbose stack Exit status 255
14 verbose stack at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:245:16)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at EventEmitter.emit (events.js:191:7)
14 verbose stack at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:24:14)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at ChildProcess.emit (events.js:191:7)
14 verbose stack at maybeClose (internal/child_process.js:852:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)
15 verbose pkgid [email protected]
16 verbose cwd C:\Users\s\Documents\GitHub\BMPC
17 error Windows_NT 10.0.14393
18 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "teststart"
19 error node v6.2.1
20 error npm v3.9.3
21 error code ELIFECYCLE
22 error [email protected] teststart: `node_modules\electron\dist\electron.exe bin`
22 error Exit status 255
23 error Failed at the [email protected] teststart script 'node_modules\electron\dist\electron.exe bin'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the BlitzModder package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error node_modules\electron\dist\electron.exe bin
23 error You can get information on how to open an issue for this project with:
23 error npm bugs BlitzModder
23 error Or if that isn't available, you can get their info via:
23 error npm owner ls BlitzModder
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]
そして、言語の優先順位は英語(en)、日本語(ja)、ロシア語(ru)の順番にする
ただし、自分の言語環境が英語か日本語かロシア語の場合はそれを優先する
たとえば、日本語設定にしてる人が、「英語とロシア語だけ対応してるリポジトリ」を追加した場合は、
BMはまず日本語(plist/ja.plist)を取得しようとする
→404 Not Foundなので次に優先度の高い英語(plist/en.plist)を取得しようとする
→200 でこのファイルは存在するのでこれを表示する
って感じのプログラムにしたい
別に表示する
BM for iOSとAndroidではチェックボックスとインストール済みかどうかは別に扱ってる
.ipaを選択しているのに適用先がandroidになっていたりする場合注意を出す
version.txtがmacosなのに適用先がwinになっていたりする場合も同様
回避オプションもつける
<plist version="1.0">
<dict>
<key>name</key>
<string>BlitzModder</string>
<key>maintainer</key>
<string>subdiox</string>
<key>version</key>
<string>1.0.0</string>
</dict>
</plist>
間違えてパーソナルアクセストークンを消してた
http://qiita.com/dora56/items/cafae475daec802b6b8f
これとか
sudo chmod -R 777 /Applications/World\ of\ Tanks\ Blitz.app
Attempting to call a function in a renderer window that has been closed or released.
Function provided here: undefined
原因不明
BM 適用先をsteamのディレクトリに指定したらInvalid Versinonでリポジトリ開けないので適当なディレクトリ適用先にして手動で導入してますがこれどうにかなりませんかね...
World of Tanks 3.9.0.ipa/Data
に書き込まれてるけど、
World of Tanks 3.9.0.ipa/Payload/wotblitz.app/Data
が正しい
changelog.txt
3.7.649_1914155 master WOTB_MacOS
_の間ではなく最初からとる
BMのリポジトリ、次の決まりで読み込むように統一したい
/が0個かつhttp:から始まらない→githubのmasterブランチのURLに「(入力内容)/BMRepository」を当てはめる
/が1個かつhttp:から始まらない→githubのmasterブランチのURLに「(入力内容)」を当てはめる
/が2個以上かつhttp:から始まる→URLをそのまま使う
それ以外→「リポジトリの形式が違います」というエラーを出す
githubに関しては、masterブランチ以外無視する
たとえば、リポジトリ入力画面で「BlitzModder」を入力した場合は、https://github.com/BlitzModder/BMRepository/raw/master/
をリポジトリのURLとして読み込むってこと
おそらく
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.