OSDN Git Service

CoreDataのデータファイルを削除して再起動させるAppleScriptを追加
authormasakih <masakih@users.sourceforge.jp>
Sun, 28 Jun 2015 01:28:57 +0000 (10:28 +0900)
committermasakih <masakih@users.sourceforge.jp>
Sun, 28 Jun 2015 01:28:57 +0000 (10:28 +0900)
KCD.xcodeproj/project.pbxproj
KCD/RemoveDatabaseFileAndRestart.app/Contents/Info.plist [new file with mode: 0644]
KCD/RemoveDatabaseFileAndRestart.app/Contents/MacOS/applet [new file with mode: 0755]
KCD/RemoveDatabaseFileAndRestart.app/Contents/PkgInfo [new file with mode: 0644]
KCD/RemoveDatabaseFileAndRestart.app/Contents/Resources/Scripts/main.scpt [new file with mode: 0644]
KCD/RemoveDatabaseFileAndRestart.app/Contents/Resources/applet.icns [new file with mode: 0644]
KCD/RemoveDatabaseFileAndRestart.app/Contents/Resources/applet.rsrc [new file with mode: 0644]
KCD/RemoveDatabaseFileAndRestart.app/Contents/Resources/description.rtfd/TXT.rtf [new file with mode: 0644]

index 20343dd..efa4640 100644 (file)
@@ -80,6 +80,7 @@
                F49546361B19924D00E0D8D0 /* HMBookmarkListViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = F49546341B19924D00E0D8D0 /* HMBookmarkListViewController.xib */; };
                F49688641B3AFE4900D3CEDE /* HMProgressPanel.m in Sources */ = {isa = PBXBuildFile; fileRef = F49688621B3AFE4900D3CEDE /* HMProgressPanel.m */; };
                F49688651B3AFE4900D3CEDE /* HMProgressPanel.xib in Resources */ = {isa = PBXBuildFile; fileRef = F49688631B3AFE4900D3CEDE /* HMProgressPanel.xib */; };
+               F49688671B3EA16800D3CEDE /* RemoveDatabaseFileAndRestart.app in Resources */ = {isa = PBXBuildFile; fileRef = F49688661B3EA16800D3CEDE /* RemoveDatabaseFileAndRestart.app */; };
                F49828FC1902A226000D6BBE /* HMStrokeTextFieldCell.m in Sources */ = {isa = PBXBuildFile; fileRef = F49828FB1902A226000D6BBE /* HMStrokeTextFieldCell.m */; };
                F4A2AF521A074DCF0024BD9E /* HMScreenshotListWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = F4A2AF501A074DCF0024BD9E /* HMScreenshotListWindowController.m */; };
                F4A2AF541A074DE40024BD9E /* HMScreenshotListWindowController.xib in Resources */ = {isa = PBXBuildFile; fileRef = F4A2AF561A074DE40024BD9E /* HMScreenshotListWindowController.xib */; };
                F49688611B3AFE4900D3CEDE /* HMProgressPanel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HMProgressPanel.h; sourceTree = "<group>"; };
                F49688621B3AFE4900D3CEDE /* HMProgressPanel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HMProgressPanel.m; sourceTree = "<group>"; };
                F49688631B3AFE4900D3CEDE /* HMProgressPanel.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = HMProgressPanel.xib; sourceTree = "<group>"; };
+               F49688661B3EA16800D3CEDE /* RemoveDatabaseFileAndRestart.app */ = {isa = PBXFileReference; lastKnownFileType = wrapper.application; path = RemoveDatabaseFileAndRestart.app; sourceTree = "<group>"; };
                F49828FA1902A226000D6BBE /* HMStrokeTextFieldCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HMStrokeTextFieldCell.h; sourceTree = "<group>"; };
                F49828FB1902A226000D6BBE /* HMStrokeTextFieldCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HMStrokeTextFieldCell.m; sourceTree = "<group>"; };
                F4A2AF4F1A074DCF0024BD9E /* HMScreenshotListWindowController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HMScreenshotListWindowController.h; sourceTree = "<group>"; };
                F4BDEB4D187252F30069D0CE /* Supporting Files */ = {
                        isa = PBXGroup;
                        children = (
+                               F49688661B3EA16800D3CEDE /* RemoveDatabaseFileAndRestart.app */,
                                F4BEEEA718D323520006F70C /* Makefile */,
                                F4BEEEA318D211500006F70C /* Makefile */,
                                F4BEEEA018D211360006F70C /* Localizable.strings.sed */,
                        files = (
                                F4B37EFF19FC8DCC002F371A /* HMUpgradableShipsWindowController.xib in Resources */,
                                F49546361B19924D00E0D8D0 /* HMBookmarkListViewController.xib in Resources */,
+                               F49688671B3EA16800D3CEDE /* RemoveDatabaseFileAndRestart.app in Resources */,
                                F494DC6A18C8BAB900AE97E4 /* HMPowerUpSupportViewController.xib in Resources */,
                                F4BDEB51187252F30069D0CE /* InfoPlist.strings in Resources */,
                                F43E67B918BE060E0087E5B6 /* LevelUpExp.plist in Resources */,
diff --git a/KCD/RemoveDatabaseFileAndRestart.app/Contents/Info.plist b/KCD/RemoveDatabaseFileAndRestart.app/Contents/Info.plist
new file mode 100644 (file)
index 0000000..0e1fe00
--- /dev/null
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+       <key>CFBundleAllowMixedLocalizations</key>
+       <true/>
+       <key>CFBundleDevelopmentRegion</key>
+       <string>English</string>
+       <key>CFBundleExecutable</key>
+       <string>applet</string>
+       <key>CFBundleIconFile</key>
+       <string>applet</string>
+       <key>CFBundleIdentifier</key>
+       <string>com.apple.ScriptEditor.id.RemoveDatabaseFileAndRestart</string>
+       <key>CFBundleInfoDictionaryVersion</key>
+       <string>6.0</string>
+       <key>CFBundleName</key>
+       <string>RemoveDetabeseFileAndRestart</string>
+       <key>CFBundlePackageType</key>
+       <string>APPL</string>
+       <key>CFBundleShortVersionString</key>
+       <string>1.0</string>
+       <key>CFBundleSignature</key>
+       <string>aplt</string>
+       <key>LSMinimumSystemVersionByArchitecture</key>
+       <dict>
+               <key>x86_64</key>
+               <string>10.6</string>
+       </dict>
+       <key>LSRequiresCarbon</key>
+       <true/>
+       <key>WindowState</key>
+       <dict>
+               <key>bundleDividerCollapsed</key>
+               <false/>
+               <key>bundlePositionOfDivider</key>
+               <real>401</real>
+               <key>dividerCollapsed</key>
+               <false/>
+               <key>eventLogLevel</key>
+               <integer>-1</integer>
+               <key>name</key>
+               <string>ScriptWindowState</string>
+               <key>positionOfDivider</key>
+               <real>292</real>
+               <key>savedFrame</key>
+               <string>531 243 700 542 0 0 1440 877 </string>
+               <key>selectedTab</key>
+               <string>log</string>
+       </dict>
+</dict>
+</plist>
diff --git a/KCD/RemoveDatabaseFileAndRestart.app/Contents/MacOS/applet b/KCD/RemoveDatabaseFileAndRestart.app/Contents/MacOS/applet
new file mode 100755 (executable)
index 0000000..694474c
Binary files /dev/null and b/KCD/RemoveDatabaseFileAndRestart.app/Contents/MacOS/applet differ
diff --git a/KCD/RemoveDatabaseFileAndRestart.app/Contents/PkgInfo b/KCD/RemoveDatabaseFileAndRestart.app/Contents/PkgInfo
new file mode 100644 (file)
index 0000000..3253614
--- /dev/null
@@ -0,0 +1 @@
+APPLaplt
\ No newline at end of file
diff --git a/KCD/RemoveDatabaseFileAndRestart.app/Contents/Resources/Scripts/main.scpt b/KCD/RemoveDatabaseFileAndRestart.app/Contents/Resources/Scripts/main.scpt
new file mode 100644 (file)
index 0000000..b26893b
Binary files /dev/null and b/KCD/RemoveDatabaseFileAndRestart.app/Contents/Resources/Scripts/main.scpt differ
diff --git a/KCD/RemoveDatabaseFileAndRestart.app/Contents/Resources/applet.icns b/KCD/RemoveDatabaseFileAndRestart.app/Contents/Resources/applet.icns
new file mode 100644 (file)
index 0000000..0cdd170
Binary files /dev/null and b/KCD/RemoveDatabaseFileAndRestart.app/Contents/Resources/applet.icns differ
diff --git a/KCD/RemoveDatabaseFileAndRestart.app/Contents/Resources/applet.rsrc b/KCD/RemoveDatabaseFileAndRestart.app/Contents/Resources/applet.rsrc
new file mode 100644 (file)
index 0000000..2a8e664
Binary files /dev/null and b/KCD/RemoveDatabaseFileAndRestart.app/Contents/Resources/applet.rsrc differ
diff --git a/KCD/RemoveDatabaseFileAndRestart.app/Contents/Resources/description.rtfd/TXT.rtf b/KCD/RemoveDatabaseFileAndRestart.app/Contents/Resources/description.rtfd/TXT.rtf
new file mode 100644 (file)
index 0000000..7d0ec17
--- /dev/null
@@ -0,0 +1,4 @@
+{\rtf1\ansi\ansicpg932\cocoartf1347\cocoasubrtf570
+{\fonttbl}
+{\colortbl;\red255\green255\blue255;}
+}
\ No newline at end of file