• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Moxkiriyaプロジェクト事前開発用の作業部屋


Commit MetaInfo

修訂2ce71e2f9493ef8178411d4e18884fa41bf3a03e (tree)
時間2018-10-07 11:23:00
作者Harold_Andoh <andolloyd@gmai...>
CommiterHarold_Andoh

Log Message

[Moxkiriya7]

*
ユーザーのホームディレクトリに_moxkiriyaディレクトrがない状態で起動した場合、Config設定ダイアログでOKボタンを押すと、FileNotFoundExceptionが発生する問題を修正

Change Summary

差異

--- a/src/com/wiki/standalone/moxkiriya/SettingManager.java
+++ b/src/com/wiki/standalone/moxkiriya/SettingManager.java
@@ -281,7 +281,13 @@ public class SettingManager {
281281 * @throws Exception
282282 */
283283 public void save() throws Exception {
284- String path = get(SETTINGSKEY_MOXKIRIYA_USER_DIR);
284+ String path = get(SETTINGSKEY_MOXKIRIYA_USER_DIR);
285+ File moxkiriyaHomeDir = new File(path);
286+
287+ if( (moxkiriyaHomeDir.exists() != true)
288+ || (moxkiriyaHomeDir.isDirectory() != true)) {
289+ moxkiriyaHomeDir.mkdirs();
290+ }
285291
286292 /*
287293 * save _party.config