mirror of
https://github.com/BetterAndroid/compose-multiplatform-template.git
synced 2025-09-05 02:05:32 +08:00
fix: iosApp template app name
This commit is contained in:
@@ -22,7 +22,7 @@ def replace_strings_in_directory(directory, replacements, extensions):
|
||||
def main():
|
||||
with open('initializer.json', 'r') as json_file:
|
||||
replacements = json.load(json_file)
|
||||
extensions = ('.kt', '.properties', '.xml', '.gradle.kts', '.xcconfig')
|
||||
extensions = ('.kt', '.properties', '.xml', '.gradle.kts', '.xcconfig', '.plist')
|
||||
replace_strings_in_directory('.', replacements, extensions)
|
||||
print("Project initialization successful.")
|
||||
os.remove(sys.argv[0])
|
||||
|
@@ -1,3 +1,3 @@
|
||||
TEAM_ID=
|
||||
BUNDLE_ID=__GROUP_NAME__
|
||||
APP_NAME=__APP_NAME__
|
||||
APP_NAME=__PROJECT_NAME__
|
@@ -2,6 +2,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>CFBundleDisplayName</key>
|
||||
<string>__APP_NAME__</string>
|
||||
<key>CADisableMinimumFrameDurationOnPhone</key>
|
||||
<true/>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
|
Reference in New Issue
Block a user