Skip to content

Commit

Permalink
Mac version should work. Bumped version.
Browse files Browse the repository at this point in the history
  • Loading branch information
ReFreezed committed Jan 10, 2021
1 parent 7e0b76b commit 9e7f484
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 11 deletions.
14 changes: 14 additions & 0 deletions misc/Changelog.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
Changelog
Hot Particles

v1.7 (2021-01-10)
- Project files can be renamed from the tab context menu.
- Added menu button for reopening the current project.
- Added shortcuts for reordering systems and projects.
- Less undo history entries are created for sliders when nudging with the arrow keys.
- Fixed 'pixelate textures' visually only updating the current system's texture if custom textures are used.
- Animation editor: Frame size being 0 now means full image length.
- Animation editor: Showing image borders.
- File browser: Keyboard navigation for file list.
- File browser: Press tab to auto-complete filename.
- File browser: Hold ctrl to select multiple project files to open.
- File browser: Showing a better initial folder in some cases.
- File browser: Folder back/forward buttons.

v1.6 (2020-08-22)
- Added custom visual rectangular regions.
- Added preference for the initial system in new projects to be completely empty.
Expand Down
13 changes: 7 additions & 6 deletions misc/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,9 @@ files are copied). You can export to files or to the clipboard.
In the export dialog, any question marks ("?") in the file/folder paths will
be replaced with the name of the project file (without the file extension).

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

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

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

Functions:

Expand Down
5 changes: 3 additions & 2 deletions misc/appInfoTemplate.plist
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@
<key>NSHumanReadableCopyright</key><string>${copyright}</string>

<!-- Bundle icon. -->
<key>CFBundleIconFile</key><string>AppIcon</string>
<key>CFBundleIconName</key><string>AppIcon</string>
<key>CFBundleIconFile</key><string>AppIcon</string><!-- Legacy. -->
<key>CFBundleIconName</key><string>AppIcon</string><!-- Legacy. -->
<key>CFBundleIconFiles</key><array><string>AppIcon</string></array>

<!-- Bundle creator ID. -->
<key>CFBundleSignature</key><string>????</string>
Expand Down
2 changes: 1 addition & 1 deletion misc/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.6.0
1.7.0
5 changes: 3 additions & 2 deletions src/build.gloa
Original file line number Diff line number Diff line change
Expand Up @@ -244,13 +244,14 @@ local doRelease :: () {
os.execute("ROBOCOPY", {values.loveAppPath.."/Contents/MacOS", contentsDir.."/MacOS", "/E", "/LOG+:"..PATH_RC_LOG})

-- Create .icns.
!import"macos/icns".create("temp/appIcon.icns", {
local ok, err = !import"macos/icns".create("temp/appIcon.icns", {
{path="gfx/appIcon16.png", size=16},
{path="gfx/appIcon32.png", size=32},
{path="gfx/appIcon64.png", size=64},
{path="gfx/appIcon128.png", size=128},
{path="gfx/appIcon256.png", size=256},
})
if not ok error(err)

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

-- Add remaining files.
do {
copyFilesInDirectory("exportTemplates", outputDir.."/exportTemplates", "%.lua$")
copyFilesInDirectory("exportTemplates", contentsDir.."/Resources/exportTemplates", "%.lua$")
copyFile(values.lovePath, contentsDir.."/Resources/Game.love")
copyFile("temp/appIcon.icns", contentsDir.."/Resources/AppIcon.icns")
copyFile("misc/Changelog.txt", outputDir.."/_Changelog.txt")
Expand Down

0 comments on commit 9e7f484

Please sign in to comment.