Skip to content

Commit 9e7f484

Browse files
committed
Mac version should work. Bumped version.
1 parent 7e0b76b commit 9e7f484

File tree

5 files changed

+28
-11
lines changed

5 files changed

+28
-11
lines changed

misc/Changelog.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
Changelog
22
Hot Particles
33

4+
v1.7 (2021-01-10)
5+
- Project files can be renamed from the tab context menu.
6+
- Added menu button for reopening the current project.
7+
- Added shortcuts for reordering systems and projects.
8+
- Less undo history entries are created for sliders when nudging with the arrow keys.
9+
- Fixed 'pixelate textures' visually only updating the current system's texture if custom textures are used.
10+
- Animation editor: Frame size being 0 now means full image length.
11+
- Animation editor: Showing image borders.
12+
- File browser: Keyboard navigation for file list.
13+
- File browser: Press tab to auto-complete filename.
14+
- File browser: Hold ctrl to select multiple project files to open.
15+
- File browser: Showing a better initial folder in some cases.
16+
- File browser: Folder back/forward buttons.
17+
418
v1.6 (2020-08-22)
519
- Added custom visual rectangular regions.
620
- Added preference for the initial system in new projects to be completely empty.

misc/README.txt

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -269,9 +269,9 @@ files are copied). You can export to files or to the clipboard.
269269
In the export dialog, any question marks ("?") in the file/folder paths will
270270
be replaced with the name of the project file (without the file extension).
271271

272-
Exporting happens using Lua scripts in the "exportTemplates" folder. You can
273-
edit existing scripts or make completely new ones to fit your game (see the
274-
"Template API" section).
272+
Exporting happens using Lua scripts in the "exportTemplates" folder (in macOS
273+
see HotParticles.app/Contents/Resources). You can edit existing scripts or
274+
make completely new ones to fit your game (see the "Template API" section).
275275

276276
The base folder, if specified, should usually point to the folder containing
277277
the game's main.lua. Note that textures that are somewhere in the base folder
@@ -282,9 +282,10 @@ will not be copied.
282282
8. Template API
283283
==============================================================================
284284

285-
Templates are normal Lua scripts in the "exportTemplates" folder. Some of the
286-
standard Lua globals and modules are available, but not all. Note that trying
287-
to set globals will result in an error.
285+
Templates are normal Lua scripts in the "exportTemplates" folder (in macOS see
286+
HotParticles.app/Contents/Resources). Some of the standard Lua globals and
287+
modules are available, but not all. Note that trying to set globals will
288+
result in an error.
288289

289290
Functions:
290291

misc/appInfoTemplate.plist

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@
1818
<key>NSHumanReadableCopyright</key><string>${copyright}</string>
1919

2020
<!-- Bundle icon. -->
21-
<key>CFBundleIconFile</key><string>AppIcon</string>
22-
<key>CFBundleIconName</key><string>AppIcon</string>
21+
<key>CFBundleIconFile</key><string>AppIcon</string><!-- Legacy. -->
22+
<key>CFBundleIconName</key><string>AppIcon</string><!-- Legacy. -->
23+
<key>CFBundleIconFiles</key><array><string>AppIcon</string></array>
2324

2425
<!-- Bundle creator ID. -->
2526
<key>CFBundleSignature</key><string>????</string>

misc/version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.6.0
1+
1.7.0

src/build.gloa

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,13 +244,14 @@ local doRelease :: () {
244244
os.execute("ROBOCOPY", {values.loveAppPath.."/Contents/MacOS", contentsDir.."/MacOS", "/E", "/LOG+:"..PATH_RC_LOG})
245245

246246
-- Create .icns.
247-
!import"macos/icns".create("temp/appIcon.icns", {
247+
local ok, err = !import"macos/icns".create("temp/appIcon.icns", {
248248
{path="gfx/appIcon16.png", size=16},
249249
{path="gfx/appIcon32.png", size=32},
250250
{path="gfx/appIcon64.png", size=64},
251251
{path="gfx/appIcon128.png", size=128},
252252
{path="gfx/appIcon256.png", size=256},
253253
})
254+
if not ok error(err)
254255

255256
-- Create other files.
256257
local infoPlist = readFile("misc/appInfoTemplate.plist")
@@ -273,7 +274,7 @@ local doRelease :: () {
273274

274275
-- Add remaining files.
275276
do {
276-
copyFilesInDirectory("exportTemplates", outputDir.."/exportTemplates", "%.lua$")
277+
copyFilesInDirectory("exportTemplates", contentsDir.."/Resources/exportTemplates", "%.lua$")
277278
copyFile(values.lovePath, contentsDir.."/Resources/Game.love")
278279
copyFile("temp/appIcon.icns", contentsDir.."/Resources/AppIcon.icns")
279280
copyFile("misc/Changelog.txt", outputDir.."/_Changelog.txt")

0 commit comments

Comments
 (0)