Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add our own apps #269

Open
blgoreuxe opened this issue Jan 19, 2022 · 21 comments
Open

Add our own apps #269

blgoreuxe opened this issue Jan 19, 2022 · 21 comments
Labels
enhancement New feature or request not-stale Stops the stale action from closing

Comments

@blgoreuxe
Copy link

can you make a feature where you can select an app icon from your computer, a title and a link and on the home screen it will show up a shortcut and when you click it, it will act like an app from the Microsoft store. exept it only shows on your computer and not anyone else, nor does it need to be accepted. I want this because i want to add in a VSCode server i have (because it better than the one in the microsoft store) and if i was to just suggest that then people can see my files which i really dont want. so in conclusion can you make a feature where you can make your own apps on the desktop.

@win11bot
Copy link
Collaborator

Hey, thank you for creating an issue. We will normally respond within 24 hours.

@luni-moon
Copy link
Collaborator

I think this is a great idea. Maybe we should add a local cache (if we don't already have one), for features like this.

@luni-moon luni-moon added the enhancement New feature or request label Jan 19, 2022
@blueedgetechno
Copy link
Owner

blueedgetechno commented Jan 19, 2022

Actually you can add your own app locally

open the console and run these lines

var installed = localStorage.getItem('installed') || '[]'
installed = JSON.parse(installed)
installed.push({
  "name": "Smash karts",
  "icon": "https://api.web.gamepix.com/assets/img/250/250/icon/smash-karts.png",
  "type": "app",
  "data": {
    "type": "IFrame",
    "url": "https://smashkarts.io"
  },
  "pwa": true
})

localStorage.setItem('installed', JSON.stringify(installed))

Here I added an App called SmashKart, you can add your own by changing the name, icon and url.

After running the script and refresh. Then head over to start menu and all apps and scroll to the app.

@luni-moon
Copy link
Collaborator

Actually you can add your own app locally

open the console and run these lines

var installed = localStorage.getItem('installed') || '[]'
installed = JSON.parse(installed)
installed.push({
  "name": "Smash karts",
  "icon": "https://api.web.gamepix.com/assets/img/250/250/icon/smash-karts.png",
  "type": "app",
  "data": {
    "type": "IFrame",
    "url": "https://smashkarts.io"
  },
  "pwa": true
})

localStorage.setItem('installed', JSON.stringify(installed))

Here I added an App called SmashKart, you can add your own by changing the name, icon and url.

After running the script and refresh. Then head over to start menu and all apps and scroll to the app.

Wouldn't be nice to have this as a feature to make it easier for non-programmers?

@blueedgetechno
Copy link
Owner

yes, write this one in the feature request of discord. I will get to it later.

@blgoreuxe
Copy link
Author

yes, write this one in the feature request of discord. I will get to it later.

Alrighty, Thanks but can u do it for me @Lukas-Batema i dont use discore

@luni-moon
Copy link
Collaborator

yes, write this one in the feature request of discord. I will get to it later.

Alrighty, Thanks but can u do it for me @Lukas-Batema i dont use discore

Ye, I can.

@blgoreuxe
Copy link
Author

yes, write this one in the feature request of discord. I will get to it later.

Alrighty, Thanks but can u do it for me @Lukas-Batema i dont use discore

Ye, I can.

thanks

@blgoreuxe
Copy link
Author

Actually you can add your own app locally
open the console and run these lines

var installed = localStorage.getItem('installed') || '[]'
installed = JSON.parse(installed)
installed.push({
  "name": "Smash karts",
  "icon": "https://api.web.gamepix.com/assets/img/250/250/icon/smash-karts.png",
  "type": "app",
  "data": {
    "type": "IFrame",
    "url": "https://smashkarts.io"
  },
  "pwa": true
})

localStorage.setItem('installed', JSON.stringify(installed))

Here I added an App called SmashKart, you can add your own by changing the name, icon and url.
After running the script and refresh. Then head over to start menu and all apps and scroll to the app.

Wouldn't be nice to have this as a feature to make it easier for non-programmers?

and btw if i use this how do i delete an app

@blueedgetechno
Copy link
Owner

@blgoreuxe

localStorage.setItem('installed', '[]')

ps: it will remove all your installed apps

@blgoreuxe
Copy link
Author

@blgoreuxe

localStorage.setItem('installed', '[]')

ps: it will remove all your installed apps

ok, btw how did you learn react?

@blueedgetechno
Copy link
Owner

head over to discussion and make it a question. We can be little organised :p

@blgoreuxe
Copy link
Author

head over to discussion and make it a question. We can be little organised :p

k lol

@blueedgetechno blueedgetechno added the not-stale Stops the stale action from closing label Jan 29, 2022
This was referenced Apr 23, 2022
@yashash-pugalia
Copy link
Collaborator

164748562-56c837cd-2444-4df1-a238-96883f1e487c

@glitch128
Copy link

var installed = localStorage.getItem('installed') || '[]'
installed = JSON.parse(installed)
installed.push({
  "name": "Smash karts",
  "icon": "https://api.web.gamepix.com/assets/img/250/250/icon/smash-karts.png",
  "type": "app",
  "data": {
    "type": "IFrame",
    "url": "https://smashkarts.io"
  },
  "pwa": true
})

localStorage.setItem('installed', JSON.stringify(installed))

is this in the developer window or the simulated terminal?

@andrewstech
Copy link
Collaborator

var installed = localStorage.getItem('installed') || '[]'
installed = JSON.parse(installed)
installed.push({
  "name": "Smash karts",
  "icon": "https://api.web.gamepix.com/assets/img/250/250/icon/smash-karts.png",
  "type": "app",
  "data": {
    "type": "IFrame",
    "url": "https://smashkarts.io"
  },
  "pwa": true
})

localStorage.setItem('installed', JSON.stringify(installed))

is this in the developer window or the simulated terminal?

Developer tools in your Web browser.

@glitch128
Copy link

Could you add a way to do this in the simulated terminal?

@blgoreuxe
Copy link
Author

Could you add a way to do this in the simulated terminal?

yea that would be cool kinda like how linux is like sudo apt install appname

@notAperson535
Copy link

notAperson535 commented Apr 28, 2022

you can now do this with the win11react/store repository

@franck403
Copy link
Contributor

in the pull request #845 you can install or uninstall app using the terminal.
Live preview of this is here #845 preview

@gabrieljemail
Copy link

You could have native JavaScript or TypeScript for React run this for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request not-stale Stops the stale action from closing
Projects
None yet
Development

No branches or pull requests

10 participants