Skip to content

Commit 02f214b

Browse files
committed
refactor: tweak example app's display name
1 parent 2c3bd09 commit 02f214b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/create.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import githubUsername from 'github-username';
1111
import pack from '../package.json';
1212

1313
const TEMPLATE = path.resolve(__dirname, '../templates/library');
14-
const BINARIES = /(gradlew|\.(jar|xib|keystore|png|jpg|gif))$/;
14+
const BINARIES = /(gradlew|\.(jar|keystore|png|jpg|gif))$/;
1515

1616
export default async function create(argv: yargs.Arguments<any>) {
1717
const folder = path.join(process.cwd(), argv.name);

templates/library/example/ios/<%= project.name %>Example/Base.lproj/LaunchScreen.xib

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
1919
<nil key="highlightedColor"/>
2020
</label>
21-
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="<%= project.name %>Example" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="kId-c2-rCX">
21+
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="<%= project.name %> Example" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="kId-c2-rCX">
2222
<rect key="frame" x="20" y="140" width="441" height="43"/>
2323
<fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
2424
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>

templates/library/example/ios/<%= project.name %>Example/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<key>CFBundleDevelopmentRegion</key>
66
<string>en</string>
77
<key>CFBundleDisplayName</key>
8-
<string><%= project.name %>Example</string>
8+
<string><%= project.name %> Example</string>
99
<key>CFBundleExecutable</key>
1010
<string>$(EXECUTABLE_NAME)</string>
1111
<key>CFBundleIdentifier</key>

0 commit comments

Comments
 (0)