Giter VIP home page Giter VIP logo

Comments (9)

 avatar commented on August 14, 2024 1

This is not true. Attempt to write a file to the root Data folder where Documents folders exists, regular app can write here, Tweak cannot.

from electra.

jakeajames avatar jakeajames commented on August 14, 2024

Injected tweaks run with the same permissions as the app itself so they can

from electra.

jakeajames avatar jakeajames commented on August 14, 2024

from electra.

lubbo avatar lubbo commented on August 14, 2024

I can confirm that Tweaks cannot write files neither in the App sandbox.
From iOS11.
In iOS 10 works.
I've tried writing in Document and ApplicationSupport directories.
I definitely need a way to write files... I've tried all my bullets...

from electra.

jakeajames avatar jakeajames commented on August 14, 2024

@lubbo i'm sure you're doing it wrong. Tweaks can do whatever the process they're injected to can do. Period.

from electra.

lubbo avatar lubbo commented on August 14, 2024

@ElliotRobot20 have you fixed the problem or are you still unable to write on Documents dir?

from electra.

jakeajames avatar jakeajames commented on August 14, 2024

@lubbo @ElliotRobot20 bruh i wrote this in 5 minutes and it works fine. Stop saying it doesn't work. You're doing it wrong.

[@"TEST" writeToFile:[NSHomeDirectory() stringByAppendingPathComponent:@"Documents/TESTFILE.txt"] atomically:YES];

from electra.

 avatar commented on August 14, 2024

write to ROOT NSHomeDirectory() not within the documents folder....
It's the same problem I have if i enable mobile permissions on the Info.plist in App bundle root, you still cannot modify the file from the tweak as your restricted by initial read-only sandbox.
@jakeajames

from electra.

jakeajames avatar jakeajames commented on August 14, 2024

from electra.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.