Skip to content

Commit

Permalink
Inline
Browse files Browse the repository at this point in the history
  • Loading branch information
willpill committed Jan 23, 2024
1 parent be3d80d commit aaed3eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion platform/mac/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<key>CFBundleSignature</key>
<string>net.mcreator.mcreator</string>
<key>CFBundleVersion</key>
<string>%build%</string>
<string>%mcreator%.%build%</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.developer-tools</string>

Expand Down
8 changes: 2 additions & 6 deletions platform/mac/mac.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ tasks.register('exportMacX64', Copy.class) {
into(exportPathX64 + '/Contents/')
into('') {
from file('platform/mac/Info.plist') rename('Info.plist', 'Info.plistdos') filter { line ->
line = line.replace('%mcreator%', (String) project.mcreatorconf.getProperty('mcreator'))
line = line.replace('%build%', project.builddate.toString())
return line
line.replace('%mcreator%', (String) project.mcreatorconf.getProperty('mcreator')).replace('%build%', project.builddate.toString())
}
from file('LICENSE.txt')
}
Expand Down Expand Up @@ -110,9 +108,7 @@ tasks.register('exportMacAarch64', Copy.class) {
into(exportPathAarch64 + '/Contents/')
into('') {
from file('platform/mac/Info.plist') rename('Info.plist', 'Info.plistdos') filter { line ->
line = line.replace('%mcreator%', (String) project.mcreatorconf.getProperty('mcreator'))
line = line.replace('%build%', project.builddate.toString())
return line
line.replace('%mcreator%', (String) project.mcreatorconf.getProperty('mcreator')).replace('%build%', project.builddate.toString())
}
from file('LICENSE.txt')
}
Expand Down

0 comments on commit aaed3eb

Please sign in to comment.