mirror of
https://github.com/BetterAndroid/compose-multiplatform-template.git
synced 2025-09-06 10:45:49 +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():
|
def main():
|
||||||
with open('initializer.json', 'r') as json_file:
|
with open('initializer.json', 'r') as json_file:
|
||||||
replacements = json.load(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)
|
replace_strings_in_directory('.', replacements, extensions)
|
||||||
print("Project initialization successful.")
|
print("Project initialization successful.")
|
||||||
os.remove(sys.argv[0])
|
os.remove(sys.argv[0])
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
TEAM_ID=
|
TEAM_ID=
|
||||||
BUNDLE_ID=__GROUP_NAME__
|
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">
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
<plist version="1.0">
|
<plist version="1.0">
|
||||||
<dict>
|
<dict>
|
||||||
|
<key>CFBundleDisplayName</key>
|
||||||
|
<string>__APP_NAME__</string>
|
||||||
<key>CADisableMinimumFrameDurationOnPhone</key>
|
<key>CADisableMinimumFrameDurationOnPhone</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>CFBundleDevelopmentRegion</key>
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
|
Reference in New Issue
Block a user