Skip to content

Pull Request — Added Windows & Linux Installers + Code Fixes - #10

Open
the-33 wants to merge 21 commits into
yeoji:masterfrom
the-33:master
Open

Pull Request — Added Windows & Linux Installers + Code Fixes#10
the-33 wants to merge 21 commits into
yeoji:masterfrom
the-33:master

Conversation

@the-33

@the-33 the-33 commented Dec 2, 2025

Copy link
Copy Markdown

Pull Request — Added Windows & Linux Installers + Code Fixes

Summary

This Pull Request introduces full installers for Windows and Linux, along with fixes in the JavaScript codebase that improve compatibility, and runtime behavior when the application is executed outside a pure development environment.


What’s Included

1. JavaScript Code Fixes

This PR includes a vital improvement to the original SpriteCow-based codebase to ensure correct execution under modern bundlers (Parcel) and in packaged environments:

Prototype handling fixes

Rewrote prototype assignments to avoid errors such as:

- Cannot assign to read only property 'prototype'

and to ensure compatibility with Babel/Parcel-generated class wrappers.

Class + MicroEvent integration rewritten

Ensured that classes SpriteCanvasView, ImgInput, InlineEdit, and Toolbar extend MicroEvent correctly without overriding protected prototype structures.


2. Windows Installer (Inno Setup)

A full Windows installer was created using Inno Setup, including:

  • Automatic creation of:
    • app directory
    • optional desktop/start menu shortcuts
  • Bundling all required project files
  • A executable that starts yarn dev and opens the browser automatically
  • App icon

3. Linux Installer Script (installer.sh)

A complete Linux installation script featuring:

  • Automatic download of the latest GitHub release .tar.gz
  • Extraction into /opt/Spritesheet Cutter
  • Dependency installation (yarn install)
  • Automatic launcher creation in /usr/local/bin
  • .desktop integration so the app appears in the application menu
  • App icon

Outcome

The project now supports cross-platform installation and execution, with a cleaner internal JavaScript structure and a simple workflow for end-users on both Windows and Linux.

the-33 and others added 21 commits November 28, 2025 13:30
fix: fix error when trying to modify property 'prototype' of MicroEve…
add: executable batch file to run the app automaticaly
add: app icon in .png and .ico format
add: installer for Linux (using bash) and Windows (using Inno Setup Compiler)
…e, not in the launcher batchfile and renamed linux installer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant