Skip to content

Conversation

@Marko19907
Copy link
Owner

This PR adds Microsoft Store packaging support for OLEDShift by introducing MSIX bundling, a GitHub Actions workflow that builds the bundle automatically, and improved settings persistence when running as a packaged app

Implemented logic to detect if OLEDShift is running as a packaged app. If packaged, settings are saved to the app's LocalState folder, otherwise, it defaults to the executable directory for portable use
Better than creating it myself and this approach might scale better if and when support for multiple platforms gets added
@Marko19907 Marko19907 requested a review from Copilot December 25, 2025 14:12
@Marko19907 Marko19907 self-assigned this Dec 25, 2025
@Marko19907 Marko19907 linked an issue Dec 25, 2025 that may be closed by this pull request
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds Microsoft Store packaging support for OLEDShift by introducing MSIX bundling with GitHub Actions automation and improved settings persistence for packaged applications.

  • Implements settings path resolution that works for both packaged (Microsoft Store) and unpackaged (portable) deployments
  • Adds automated MSIX bundle creation via GitHub Actions workflow
  • Includes MSIX manifest files and assets for x64 and ARM64 architectures

Reviewed changes

Copilot reviewed 8 out of 18 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/settings_path.rs New module for determining settings file location based on app packaging state
src/settings.rs Updated to use dynamic settings path instead of hardcoded path
src/main.rs Added settings_path module declaration
Cargo.toml Added windows crate dependency for Windows Runtime API access
Cargo.lock Added windows crate and its dependencies to lock file
.github/workflows/rust.yml Updated to support workflow_call and upgraded action versions
.github/workflows/msix_bundle.yml New workflow for automated MSIX bundle creation on tags
uwp/*/AppxManifest.xml MSIX package manifests for x64 and ARM64 architectures
uwp/*/Assets/*.png Application logos for Microsoft Store listing
uwp/store-assets/*.jpg Store listing screenshot assets
.gitignore Added output directory and exe files to ignore list

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Marko19907 Marko19907 merged commit 9fe134d into main Dec 25, 2025
8 checks passed
@Marko19907 Marko19907 deleted the 31-msix-packaging-ms-store branch December 25, 2025 14:18
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.

Publish OLEDShift to the Microsoft Store

2 participants