Giter Club home page Giter Club logo

bmpc's People

Contributors

s--minecraft avatar subdiox avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bmpc's Issues

二回説明の画面を開いたときにクラッシュする

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 ]

MODが適用できない

アップデート後、リポジトリや適用先のディレクトリに関わらずエントリーが定義されていないとのエラーにより適用が失敗します。ReferenceError: entry is not defined

説明の画面を開くときにたまにクラッシュする

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 ]

新しいリポジトリ構造への対応

2017-02-09 3 46 07

これからのBMのリポジトリのファイル構造はこんな感じ↑
  • installとremoveはフォルダの大文字小文字が変わっただけ
  • Modリストが記載してあるplistファイルはplistフォルダに入る
  • detailの中は言語で分けず、英語だけをhtmlフォルダ内に置く
  • scriptの中身はBMは使わない(リポジトリ管理用スクリプトを置く)

そして、言語の優先順位は英語(en)、日本語(ja)、ロシア語(ru)の順番にする
ただし、自分の言語環境が英語か日本語かロシア語の場合はそれを優先する

たとえば、日本語設定にしてる人が、「英語とロシア語だけ対応してるリポジトリ」を追加した場合は、

BMはまず日本語(plist/ja.plist)を取得しようとする
→404 Not Foundなので次に優先度の高い英語(plist/en.plist)を取得しようとする
→200 でこのファイルは存在するのでこれを表示する

って感じのプログラムにしたい

インストール済み表示

別に表示する

BM for iOSとAndroidではチェックボックスとインストール済みかどうかは別に扱ってる

適用先判定をする

.ipaを選択しているのに適用先がandroidになっていたりする場合注意を出す

version.txtがmacosなのに適用先がwinになっていたりする場合も同様

回避オプションもつける

バージョンが取得できてない

BM 適用先をsteamのディレクトリに指定したらInvalid Versinonでリポジトリ開けないので適当なディレクトリ適用先にして手動で導入してますがこれどうにかなりませんかね...

リポジトリの形式

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として読み込むってこと

https://BlitzModder.github.io/BMRepository/
でもいいよ

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.