Compare commits

..

1 Commits

Author SHA1 Message Date
833ce33015 [nostalgia/studio] Add command for bundling Mac app
All checks were successful
Build / build (push) Successful in 1m14s
2025-05-07 02:31:40 -05:00
2 changed files with 6 additions and 6 deletions

View File

@ -6,14 +6,14 @@
namespace nostalgia::gfx {
PaletteChangeCommand::PaletteChangeCommand(
gfx::PaletteChangeCommand::PaletteChangeCommand(
TileSheet::SubSheetIdx idx,
TileSheet &img,
ox::StringViewCR newPalette) noexcept:
m_img{img},
m_idx{std::move(idx)},
m_oldPalette{m_img.defaultPalette},
m_newPalette{ox::sfmt<ox::IString<43>>("uuid://{}", newPalette)} {
m_img(img),
m_idx(std::move(idx)),
m_oldPalette(m_img.defaultPalette),
m_newPalette(ox::sfmt<ox::IString<43>>("uuid://{}", newPalette)) {
}
ox::Error PaletteChangeCommand::redo() noexcept {

View File

@ -31,6 +31,6 @@ dmg = f'{dmg_dir}.dmg'
rm(dmg)
rm(dmg_dir)
mkdir_p(dmg_dir)
shutil.copytree('dist/darwin-arm64-release/NostalgiaStudio.app', f'{dmg_dir}/NostalgiaStudio.app')
shutil.copytree('dist/darwin-arm64-release/NostalgiaStudio.app', f'{dmg_dir}/Nostalgia Studio.app')
os.symlink('/Applications', f'{dmg_dir}/Applications')
run(['hdiutil', 'create', '-srcfolder', dmg_dir, dmg])