Skip to content

Commit

Permalink
fix share menu
Browse files Browse the repository at this point in the history
  • Loading branch information
NSAntoine committed Sep 28, 2024
1 parent eab9738 commit 8ea2bec
Show file tree
Hide file tree
Showing 63 changed files with 257 additions and 69 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches:
- main
- serena/root-helper-proper
- Antoine/root-helper-proper
paths-ignore:
- '**/*.md'
- 'README.md'
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
input: "${{ github.workspace }}/build/Santander.ipa"
output: "${{ github.workspace }}/build/Santander.deb"
entitlements: "${{ github.workspace }}/entitlements-TS.plist"
args: "--author Serena"
args: "--author Antoine"

- name: Upload IPA
uses: actions/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion RootHelper/Commands.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Commands.swift
// RootHelper
//
// Created by Serena on 10/11/2022
// Created by Antoine on 10/11/2022
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion RootHelper/Extensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Extensions.swift
// RootHelper
//
// Created by Serena on 10/11/2022
// Created by Antoine on 10/11/2022
//


Expand Down
2 changes: 1 addition & 1 deletion RootHelper/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// main.swift
// RootHelper
//
// Created by Serena on 17/10/2022
// Created by Antoine on 17/10/2022
//

import ArgumentParser
Expand Down
12 changes: 10 additions & 2 deletions Santander.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,12 @@
CE2D13DE291D8F8A0023F16D /* ArgumentParser in Frameworks */ = {isa = PBXBuildFile; productRef = CE2D13DD291D8F8A0023F16D /* ArgumentParser */; };
CE37904628DB44C300124029 /* AssetCatalogCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE37904528DB44C300124029 /* AssetCatalogCell.swift */; };
CE37904A28DB523500124029 /* AssetCatalogSectionHeader.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE37904928DB523500124029 /* AssetCatalogSectionHeader.swift */; };
CE4004A829F1DE9400F7470F /* RenamerTextField.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE4004A729F1DE9400F7470F /* RenamerTextField.swift */; };
CE41CDD0299695700090B616 /* Path.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE41CDCF299695700090B616 /* Path.swift */; };
CE41CDD1299695700090B616 /* Path.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE41CDCF299695700090B616 /* Path.swift */; };
CE42B204290ABB6400FD9AC9 /* AssetCatalogSidebarListView.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE42B203290ABB6400FD9AC9 /* AssetCatalogSidebarListView.swift */; };
CE42E24C291A920400187333 /* LoadingValueState.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE42E24B291A920400187333 /* LoadingValueState.swift */; };
CE4765EE29F4783C0099E6A9 /* GoToViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE4765ED29F4783C0099E6A9 /* GoToViewController.swift */; };
CE5DFE8328C7BC89003E1095 /* BinaryExecutionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE5DFE8228C7BC89003E1095 /* BinaryExecutionViewController.swift */; };
CE7228ED28E8188D00918C5F /* AssetCatalogRenditionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE7228EC28E8188D00918C5F /* AssetCatalogRenditionViewController.swift */; };
CE7E02E0290006C70046A7D4 /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CE7E02DE290006C70046A7D4 /* MobileCoreServices.framework */; };
Expand Down Expand Up @@ -154,9 +156,11 @@
CE37904528DB44C300124029 /* AssetCatalogCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AssetCatalogCell.swift; sourceTree = "<group>"; };
CE37904928DB523500124029 /* AssetCatalogSectionHeader.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AssetCatalogSectionHeader.swift; sourceTree = "<group>"; };
CE3E8FC228FF24D3001B8FAA /* Makefile */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.make; path = Makefile; sourceTree = "<group>"; };
CE4004A729F1DE9400F7470F /* RenamerTextField.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RenamerTextField.swift; sourceTree = "<group>"; };
CE41CDCF299695700090B616 /* Path.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Path.swift; sourceTree = "<group>"; };
CE42B203290ABB6400FD9AC9 /* AssetCatalogSidebarListView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AssetCatalogSidebarListView.swift; sourceTree = "<group>"; };
CE42E24B291A920400187333 /* LoadingValueState.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LoadingValueState.swift; sourceTree = "<group>"; };
CE4765ED29F4783C0099E6A9 /* GoToViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GoToViewController.swift; sourceTree = "<group>"; };
CE5DFE8228C7BC89003E1095 /* BinaryExecutionViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BinaryExecutionViewController.swift; sourceTree = "<group>"; };
CE7228EC28E8188D00918C5F /* AssetCatalogRenditionViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AssetCatalogRenditionViewController.swift; sourceTree = "<group>"; };
CE7E02DE290006C70046A7D4 /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = System/Library/Frameworks/MobileCoreServices.framework; sourceTree = SDKROOT; };
Expand Down Expand Up @@ -347,6 +351,8 @@
isa = PBXGroup;
children = (
3789B5F328622E0D00058688 /* PathListViewController.swift */,
CE4004A729F1DE9400F7470F /* RenamerTextField.swift */,
CE4765ED29F4783C0099E6A9 /* GoToViewController.swift */,
37C6E0CF28673AFF00BDDA16 /* Search.swift */,
37177E4B289F12640025042E /* PathGroupOwnerViewController.swift */,
375CF896289C394E00BB7C60 /* ToolbarItems.swift */,
Expand Down Expand Up @@ -526,6 +532,7 @@
CE42E24C291A920400187333 /* LoadingValueState.swift in Sources */,
374ECDCA2875F5350066E9DD /* AudioPlayerViewController.swift in Sources */,
37C6E0C52865CF7C00BDDA16 /* SettingsTableViewController.swift in Sources */,
CE4004A829F1DE9400F7470F /* RenamerTextField.swift in Sources */,
37C6E0CA28662C6800BDDA16 /* PathsSortMethods.swift in Sources */,
37934DB728707F4500D1248A /* TextFileEditorViewController.swift in Sources */,
3713292B28B74D34009E4AEA /* ImageLocationEditorViewController.swift in Sources */,
Expand All @@ -543,6 +550,7 @@
CECF6EDA28C37F660080B805 /* FontViewerController.swift in Sources */,
374ECDC82875A3940066E9DD /* Storage.swift in Sources */,
3789B5F428622E0D00058688 /* PathListViewController.swift in Sources */,
CE4765EE29F4783C0099E6A9 /* GoToViewController.swift in Sources */,
3789B5E028622B7A00058688 /* AppDelegate.swift in Sources */,
37137F7828AED89F00E28069 /* SerializedArrayViewController.swift in Sources */,
3712D319286F7F2E00BCD034 /* TypeSelectionViewController.swift in Sources */,
Expand Down Expand Up @@ -755,7 +763,7 @@
IOKit,
);
OTHER_SWIFT_FLAGS = "";
PRODUCT_BUNDLE_IDENTIFIER = com.serena.santanderfm;
PRODUCT_BUNDLE_IDENTIFIER = com.serena.santandermm;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_INCLUDE_PATHS = "$(SRCROOT)/Santander/Other/External/**";
Expand Down Expand Up @@ -794,7 +802,7 @@
IOKit,
);
OTHER_SWIFT_FLAGS = "";
PRODUCT_BUNDLE_IDENTIFIER = com.serena.santanderfm;
PRODUCT_BUNDLE_IDENTIFIER = com.serena.santandermm;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_INCLUDE_PATHS = "$(SRCROOT)/Santander/Other/External/**";
Expand Down
2 changes: 1 addition & 1 deletion Santander/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// AppDelegate.swift
// Santander
//
// Created by Serena on 21/06/2022
// Created by Antoine on 21/06/2022
//


Expand Down
2 changes: 1 addition & 1 deletion Santander/Other/BaseLayoutAnchorSupporting.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// BaseLayoutAnchorSupporting.swift
// Santander
//
// Created by Serena on 08/10/2022
// Created by Antoine on 08/10/2022
//


Expand Down
2 changes: 1 addition & 1 deletion Santander/Other/DiffableDataSourceItem.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// DiffableDataSourceItem.swift
// Santander
//
// Created by Serena on 04/11/2022
// Created by Antoine on 04/11/2022
//


Expand Down
4 changes: 2 additions & 2 deletions Santander/Other/DirectoryMonitor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
// DirectoryMonitor.swift
// Santander
//
// Created by Serena on 27/06/2022
// Created by Antoine on 27/06/2022
//
// Code originally written by Apple, modified for use by Serena A.
// Code originally written by Apple, modified for use by Antoine A.

import Foundation

Expand Down
2 changes: 1 addition & 1 deletion Santander/Other/Extensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Extensions.swift
// Santander
//
// Created by Serena on 21/06/2022
// Created by Antoine on 21/06/2022
//

// TODO: - Move all of this to other files, with separate files for each extension
Expand Down
2 changes: 1 addition & 1 deletion Santander/Other/GoToItem.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// GoToItem.swift
// Santander
//
// Created by Serena on 24/10/2022
// Created by Antoine on 24/10/2022
//


Expand Down
2 changes: 1 addition & 1 deletion Santander/Other/ImageMetadata.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// ImageMetadata.swift
// Santander
//
// Created by Serena on 24/08/2022.
// Created by Antoine on 24/08/2022.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Santander/Other/LoadingValueState.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// LoadingValueState.swift
// Santander
//
// Created by Serena on 08/11/2022
// Created by Antoine on 08/11/2022
//


Expand Down
2 changes: 1 addition & 1 deletion Santander/Other/Path.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Path.swift
// Santander
//
// Created by Serena on 10/02/2023.
// Created by Antoine on 10/02/2023.
//

import UIKit
Expand Down
2 changes: 1 addition & 1 deletion Santander/Other/PathMetadata.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// PathMetadata.swift
// Santander
//
// Created by Serena on 04/08/2022.
// Created by Antoine on 04/08/2022.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Santander/Other/PathTransitioning.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// PathTransitioning.swift
// Santander
//
// Created by Serena on 12/10/2022
// Created by Antoine on 12/10/2022
//


Expand Down
2 changes: 1 addition & 1 deletion Santander/Other/PathType.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// PathType.swift
// Santander
//
// Created by Serena on 27/06/2022
// Created by Antoine on 27/06/2022
//


Expand Down
2 changes: 1 addition & 1 deletion Santander/Other/PathsSortMethods.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// PathsSortMethods.swift
// Santander
//
// Created by Serena on 24/06/2022
// Created by Antoine on 24/06/2022
//


Expand Down
2 changes: 1 addition & 1 deletion Santander/Other/Permissions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Permissions.swift
// Santander
//
// Created by Serena on 05/08/2022.
// Created by Antoine on 05/08/2022.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Santander/Other/Preferences/Storage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Storage.swift
// Santander
//
// Created by Serena on 06/07/2022
// Created by Antoine on 06/07/2022
//


Expand Down
2 changes: 1 addition & 1 deletion Santander/Other/Preferences/UserPreferences.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// UserPreferences.swift
// Santander
//
// Created by Serena on 22/06/2022
// Created by Antoine on 22/06/2022
//


Expand Down
4 changes: 2 additions & 2 deletions Santander/Other/RootHelper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// FSOperation.swift
// Santander
//
// Created by Serena on 15/09/2022
// Created by Antoine on 15/09/2022
//


Expand Down Expand Up @@ -144,7 +144,7 @@ struct RootConf: RootHelperConfiguration {

let mutex = DispatchSemaphore(value: 0)

let readQueue = DispatchQueue(label: "com.serena.Santander.RootHelper",
let readQueue = DispatchQueue(label: "com.Antoine.Santander.RootHelper",
qos: .userInitiated,
attributes: .concurrent,
autoreleaseFrequency: .inherit,
Expand Down
4 changes: 2 additions & 2 deletions Santander/SceneDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// SceneDelegate.swift
// Santander
//
// Created by Serena on 21/06/2022
// Created by Antoine on 21/06/2022
//


Expand All @@ -17,7 +17,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {

func performShortcut(_ shortcut: UIApplicationShortcutItem) {
switch shortcut.type {
case "com.serena.santander.bookmarks":
case "com.Antoine.santander.bookmarks":
let vc = UINavigationController(rootViewController: PathListViewController.bookmarks())
window?.rootViewController?.present(vc, animated: true)
default:
Expand Down
2 changes: 1 addition & 1 deletion Santander/UI/AppInfoViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// AppInfoViewController.swift
// Santander
//
// Created by Serena on 15/08/2022.
// Created by Antoine on 15/08/2022.
//

import UIKit
Expand Down
2 changes: 1 addition & 1 deletion Santander/UI/Editors/AssetCatalog/AssetCatalogCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// AssetCatalogCell.swift
// Santander
//
// Created by Serena on 18/09/2022
// Created by Antoine on 18/09/2022
//


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// AssetCatalogDetailsView.swift
// Santander
//
// Created by Serena on 27/09/2022
// Created by Antoine on 27/09/2022
//


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// AssetCatalogGridPreviewCell.swift
// Santander
//
// Created by Serena on 08/10/2022
// Created by Antoine on 08/10/2022
//


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// AssetCatalogRenditionViewController.swift
// Santander
//
// Created by Serena on 01/10/2022
// Created by Antoine on 01/10/2022
//


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// AssetCatalogSectionHeader.swift
// Santander
//
// Created by Serena on 21/09/2022
// Created by Antoine on 21/09/2022
//


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// AssetCatalogSidebarListView.swift
// Santander
//
// Created by Serena on 27/10/2022
// Created by Antoine on 27/10/2022
//


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// AssetCatalogViewController.swift
// Santander
//
// Created by Serena on 16/09/2022
// Created by Antoine on 16/09/2022
//


Expand Down
2 changes: 1 addition & 1 deletion Santander/UI/Editors/Audio/AudioPlayerToolbarView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// AudioPlayerToolbarView.swift
// Santander
//
// Created by Serena on 29/08/2022.
// Created by Antoine on 29/08/2022.
//

import UIKit
Expand Down
2 changes: 1 addition & 1 deletion Santander/UI/Editors/Audio/AudioPlayerViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// AudioPlayerViewController.swift
// Santander
//
// Created by Serena on 06/07/2022
// Created by Antoine on 06/07/2022
//


Expand Down
2 changes: 1 addition & 1 deletion Santander/UI/Editors/BinaryExecutionViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// BinaryExecutionViewController.swift
// Santander
//
// Created by Serena on 06/09/2022
// Created by Antoine on 06/09/2022
//


Expand Down
Loading

0 comments on commit 8ea2bec

Please sign in to comment.