Skip to content

Commit

Permalink
feat: 设置APP名称
Browse files Browse the repository at this point in the history
  • Loading branch information
d1y committed Mar 31, 2022
1 parent 9df809c commit 0b7a46e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

<application
android:label="dan211"
android:label="211工程"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
Expand Down
4 changes: 2 additions & 2 deletions ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>dan211</string>
<string>211工程</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
Expand Down Expand Up @@ -42,4 +42,4 @@
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
</dict>
</plist>
</plist>
7 changes: 7 additions & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ dev_dependencies:
flutter_test:
sdk: flutter

# flutter_launcher_name:
# git:
# url: https://github.com/d1y/flutter_launcher_name

flutter:
uses-material-design: true

# flutter pub run flutter_launcher_name:main
flutter_launcher_name:
name: "211工程"

0 comments on commit 0b7a46e

Please sign in to comment.