dragon icon indicating copy to clipboard operation
dragon copied to clipboard

[Theos Compiler] Most bundle install paths are broken

Open L1ghtmann opened this issue 3 years ago • 1 comments

While testing dragon's interpreter against templates generated with theos' nic, I found that a few templates that include a .bundle appear to get treated as preference bundles (/Library/PreferenceLoader/Preferences gets added to the project's directory structure once installed and what would be in the .bundle is instead placed in Resources/).

The relevant templates include:

  • control_center_module_11up [install_path: /Library/ControlCenter/Bundles/$name.bundle]
  • cydget [install_path: /System/Library/SpringBoardPlugins/$nameLockScreen.bundle]
  • notification_center_widget-7up & notification_center_widget [install_path: /Library/WeeLoader/Plugins/$name.bundle]

L1ghtmann avatar Oct 08 '21 01:10 L1ghtmann

Also worth noting that flipswitch_switch's are handled properly and preference bundles are handled properly when these two lines are commented out.

L1ghtmann avatar Oct 08 '21 01:10 L1ghtmann

Looking at this again now and I don't think it's worth adding support for the legacy templates like cydget or flipswitch, but the control center one and regular bundles should probably be supported.

L1ghtmann avatar Oct 31 '22 01:10 L1ghtmann