Skip to content

Add microsoft store support#111

Merged
Oxalin merged 5 commits into
Teamwork:masterfrom
miguelx97:feature/microsoft-store-support
Dec 11, 2023
Merged

Add microsoft store support#111
Oxalin merged 5 commits into
Teamwork:masterfrom
miguelx97:feature/microsoft-store-support

Conversation

@miguelx97

Copy link
Copy Markdown

Support for Microsoft Store

  • Target platform: Appx app downloaded from Microsoft Store
  • What problem does this solve? This feature allows to auto launch Microsoft Store appx apps at startup.
  • Could it break any existing functionality for users? No

Example: new autoLaunch({ name: 'APP_NAME', path:"DEV_ID.APP_ID!PACKAGE_NAME", isHidden: true })

@miguelx97 miguelx97 changed the title Feature/microsoft store support Add microsoft store support May 3, 2022
@hovancik

hovancik commented Jul 2, 2023

Copy link
Copy Markdown

@miguelx97 any chance you published this as package somewhere?

@Oxalin

Oxalin commented Dec 3, 2023

Copy link
Copy Markdown
Contributor

I'll review it thoroughly, but this seems good at first sight.

@Oxalin Oxalin self-requested a review December 3, 2023 18:11
@Oxalin

Oxalin commented Dec 11, 2023

Copy link
Copy Markdown
Contributor

Since I don't think @miguelx97 is still around to make the changes, I'm pulling in this PR and I'll fix the details afterward.

@Oxalin Oxalin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Since I don't think the miguelx97 is still around to make the requested adjustments, I'm pulling in this PR and I'll make the little requested changes afterward.

Comment thread src/AutoLaunchWindowsAppx.coffee
Comment thread README.md
@Oxalin Oxalin merged commit 646808f into Teamwork:master Dec 11, 2023
@hovancik

hovancik commented Mar 5, 2024

Copy link
Copy Markdown

@Oxalin how would I go about with debugging this feature? I am trying with my app but doesn't seem to work, as in: app is not started after reboot.

      const autoLaunch = require('auto-launch')
      const stretchlyLauncher = new autoLaunch({ name: 'Stretchly', path:"33881JanHovancik.stretchly_24fg4m0zq65je!Stretchly", isHidden: true })
      if (value) {
        stretchlyLauncher.enable()
      } else {
        stretchlyLauncher.disable()
      }

Can I check some Window's location or something? I am on Windows 11. Trying with latest RC from NPM: https://www.npmjs.com/package/auto-launch/v/6.0.0-rc1

@Oxalin

Oxalin commented Mar 19, 2024

Copy link
Copy Markdown
Contributor

Hi @hovancik . Sorry for the late comment. I've been missing time for my implication on side projectst.

First, you would have to check in the registry if a value is added on enable() under HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

Do you get anything?

@hovancik

Copy link
Copy Markdown

@Oxalin no worries :)

I'm checking the registry editor and my app is not at that location ;/

@Oxalin

Oxalin commented Mar 21, 2024

Copy link
Copy Markdown
Contributor

We woud need to check if there is an error with this scenario then. I'll see what I come with if you are willing to test it.

Note to myself : add a test case to validate if it works as intended.

@Oxalin

Oxalin commented Mar 21, 2024

Copy link
Copy Markdown
Contributor

I'm opening issue 122

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants