-
Notifications
You must be signed in to change notification settings - Fork 76
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 apps to home screen #62
Conversation
(Also I had no way to test this with jit or trollstore, so I don't know if this would work with that, but it should because all it is doing is automating the |
Opening the context menu for an app on the list view page will bring up an option to add the app to the home screen, which uses the helper shortcut to add the webclip representation of the app to homescreen |
One problem is when the web clip is deleted from the home screen, the corresponding profile isn't deleted along with it, leading to unnecessary clutter in the Profiles tab in Settings |
my experience using this fork has been great, however there were some concerns that occurred to me. first, the apps cannot be quickly interchanged between one another (the livecontainer app must be exited and refreshed beforehand). also, the profiles seem to be disappearing after the phone is rebooted. i used cowabunga lite so idk if thats part of the issue, but its something that occurred to me nonetheless. aside from that, is there a way to customize the shortcuts that the livecontainer helper generates? i have custom icon layouts so that would be a huge help |
Could u help a brother out? kinda struggling with this. |
@Vishram1123 Thanks for your contribution. I’ll look into when I have time. |
@waveblitzd and @Xhastin1 (sorry for the late response, I am out of the country):
@khanhduytran0 thanks! |
You’re right. Moreover, another issue is the internal state of all classes cannot be reset, and leaked memory regions will stay leaked. For example, |
My apologies, i meant as in: im not an expert in this whole coding/shortcuts thing, so i was hoping someone could simplify it perhaps? i have the shortcut but whenever i launch it, |
Oh you don't have to interact with the shortcut directly; simply force click (right click, 3d touch, etc.) one of the apps, then click "Add to Home Screen": After that, allow the shortcut to add the profile to Settings, install the downloaded profile in Settings, and then you will have your app on the home screen. |
Here is a video demo: https://drive.google.com/file/d/1qlq7OY6rh_MYP8GeQk-T2s80963mjyTd/view?usp=drivesdk |
|
Are you using the Actions artifact from this repo or my fork? What does your Settings tab look like? @aqeqe |
I hate the GitHub UI cuz its so confusing for me aea103a5-ab2c-41c0-9190-c13a2668f3d3.movSome apps like Spotify and uYou+ work, but for some weird reason others won’t, like MCPE and Provenance. MCPE and Provenance work, only if i launch them directly in livecontainer myself tho, like the developer intended. |
Converted this to a draft to make a few more changes to make this a bit more streamlined. |
I updated the shortcut and the LiveContainer app to not only launch the app via a url scheme, but also by updating a file with a string. As such, the shortcut (at https://www.icloud.com/shortcuts/291fbac584d04f5e81038fc009c58b8c) requires the user to specify the location of the LiveContainer data folder, so it can modify the nextLaunch file with the new name of the file. The old shortcut should still work, but this prevents the flash that occurs before the app is launched. |
the build seems to have failed on your fork, is there a prebuilt ipa for this version yet? i tried using the new shortcut and it just won't work now |
missing....semicolon............ |
https://drive.google.com/file/d/1eGpfnnrvEoIUhsJ5339ZwDX0APctC8re/view?usp=drivesdk What am i doing wrong? :/ |
getting the same issue as above |
Give the shortcut the LiveContainer folder, not the nested Data folder |
i'm getting an error that says "app could not be opened" in shortcuts after changing the folder |
Try setting the folder while reinstalling the shortcut? |
still getting the issue, is replacing the shortcut good enough or should i be deleting my old one and then reinstalling? |
https://youtu.be/DmH6YPWhaDY?feature=shared yeah same problem tho, something’s not right. |
Reinstalling should be sufficient; when you scroll down to the very bottom, what does the open command look like? |
Using a helper shortcut (to generate web clips) as well as a url scheme, it is made possible to add apps to home screen.
Next launched app is configured using
livecontainer://launchapp?exec=[app name percent encoded].app
, then the app can be launched normally.The helper shortcut (integrated into the app in the settings tab) automates the launching of the app, and the adding of the app to the homescreen (located here: https://www.icloud.com/shortcuts/f777072dfe4d48ada1004c496f76154f)
Solves #61
(please excuse my awful objc code, this is my first time using objective c)