diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..33f779a --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +build/ +.DS_Store +*.swiftmodule +*.dSYM +.build/ diff --git a/build.sh b/build.sh index f2edc45..162af78 100755 --- a/build.sh +++ b/build.sh @@ -29,6 +29,16 @@ cp Info.plist "${BUILD_DIR}/${BUNDLE_NAME}/Contents/" codesign --force --sign - "${BUILD_DIR}/${BUNDLE_NAME}" echo "✓ Built ${BUILD_DIR}/${BUNDLE_NAME}" + +# Create zip for marketplace upload +cd "${BUILD_DIR}" +zip -r "${PLUGIN_NAME}.zip" "${BUNDLE_NAME}" +cd .. + +echo "✓ Created ${BUILD_DIR}/${PLUGIN_NAME}.zip (for marketplace upload)" echo "" -echo "Install:" +echo "Install locally:" echo " cp -r ${BUILD_DIR}/${BUNDLE_NAME} ~/.config/codeisland/plugins/" +echo "" +echo "Upload to marketplace:" +echo " ${BUILD_DIR}/${PLUGIN_NAME}.zip" diff --git a/build/music-player.bundle/Contents/Info.plist b/build/music-player.bundle/Contents/Info.plist deleted file mode 100644 index 2591f5c..0000000 --- a/build/music-player.bundle/Contents/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - MusicPlugin - CFBundleIdentifier - com.mioisland.plugin.music-player - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - Music Player - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0.0 - CFBundleVersion - 1 - NSPrincipalClass - MusicPlugin.MusicPlugin - - diff --git a/build/music-player.bundle/Contents/MacOS/MusicPlugin b/build/music-player.bundle/Contents/MacOS/MusicPlugin deleted file mode 100755 index c070cc0..0000000 Binary files a/build/music-player.bundle/Contents/MacOS/MusicPlugin and /dev/null differ diff --git a/build/music-player.bundle/Contents/_CodeSignature/CodeResources b/build/music-player.bundle/Contents/_CodeSignature/CodeResources deleted file mode 100644 index d5d0fd7..0000000 --- a/build/music-player.bundle/Contents/_CodeSignature/CodeResources +++ /dev/null @@ -1,115 +0,0 @@ - - - - - files - - files2 - - rules - - ^Resources/ - - ^Resources/.*\.lproj/ - - optional - - weight - 1000 - - ^Resources/.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^Resources/Base\.lproj/ - - weight - 1010 - - ^version.plist$ - - - rules2 - - .*\.dSYM($|/) - - weight - 11 - - ^(.*/)?\.DS_Store$ - - omit - - weight - 2000 - - ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ - - nested - - weight - 10 - - ^.* - - ^Info\.plist$ - - omit - - weight - 20 - - ^PkgInfo$ - - omit - - weight - 20 - - ^Resources/ - - weight - 20 - - ^Resources/.*\.lproj/ - - optional - - weight - 1000 - - ^Resources/.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^Resources/Base\.lproj/ - - weight - 1010 - - ^[^/]+$ - - nested - - weight - 10 - - ^embedded\.provisionprofile$ - - weight - 20 - - ^version\.plist$ - - weight - 20 - - - -