commit 2eb91c204ac41e99e4dbde977150352f87e3173e Author: remaster Date: Wed Apr 23 18:04:09 2025 -0600 Versión funcional de la aplicación. diff --git a/Shortwaifus/Shared (App)/Assets.xcassets/AccentColor.colorset/Contents.json b/Shortwaifus/Shared (App)/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/Shortwaifus/Shared (App)/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Shortwaifus/Shared (App)/Assets.xcassets/AppIcon.appiconset/Contents.json b/Shortwaifus/Shared (App)/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..ffdfe15 --- /dev/null +++ b/Shortwaifus/Shared (App)/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,85 @@ +{ + "images" : [ + { + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "tinted" + } + ], + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "16x16" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "16x16" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "32x32" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "32x32" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "128x128" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "128x128" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "256x256" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "256x256" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "512x512" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "512x512" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Shortwaifus/Shared (App)/Assets.xcassets/Contents.json b/Shortwaifus/Shared (App)/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Shortwaifus/Shared (App)/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Shortwaifus/Shared (App)/Assets.xcassets/LargeIcon.imageset/Contents.json b/Shortwaifus/Shared (App)/Assets.xcassets/LargeIcon.imageset/Contents.json new file mode 100644 index 0000000..a19a549 --- /dev/null +++ b/Shortwaifus/Shared (App)/Assets.xcassets/LargeIcon.imageset/Contents.json @@ -0,0 +1,20 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Shortwaifus/Shared (App)/Resources/Base.lproj/Main.html b/Shortwaifus/Shared (App)/Resources/Base.lproj/Main.html new file mode 100644 index 0000000..f61391d --- /dev/null +++ b/Shortwaifus/Shared (App)/Resources/Base.lproj/Main.html @@ -0,0 +1,20 @@ + + + + + + + + + + + + + Shortwaifus Icon +

You can turn on Shortwaifus’s Safari extension in Settings.

+

You can turn on Shortwaifus’s extension in Safari Extensions preferences.

+

Shortwaifus’s extension is currently on. You can turn it off in Safari Extensions preferences.

+

Shortwaifus’s extension is currently off. You can turn it on in Safari Extensions preferences.

+ + + diff --git a/Shortwaifus/Shared (App)/Resources/Icon.png b/Shortwaifus/Shared (App)/Resources/Icon.png new file mode 100644 index 0000000..423b491 Binary files /dev/null and b/Shortwaifus/Shared (App)/Resources/Icon.png differ diff --git a/Shortwaifus/Shared (App)/Resources/Script.js b/Shortwaifus/Shared (App)/Resources/Script.js new file mode 100644 index 0000000..f8f7aaa --- /dev/null +++ b/Shortwaifus/Shared (App)/Resources/Script.js @@ -0,0 +1,24 @@ +function show(platform, enabled, useSettingsInsteadOfPreferences) { + document.body.classList.add(`platform-${platform}`); + + if (useSettingsInsteadOfPreferences) { + document.getElementsByClassName('platform-mac state-on')[0].innerText = "Shortwaifus’s extension is currently on. You can turn it off in the Extensions section of Safari Settings."; + document.getElementsByClassName('platform-mac state-off')[0].innerText = "Shortwaifus’s extension is currently off. You can turn it on in the Extensions section of Safari Settings."; + document.getElementsByClassName('platform-mac state-unknown')[0].innerText = "You can turn on Shortwaifus’s extension in the Extensions section of Safari Settings."; + document.getElementsByClassName('platform-mac open-preferences')[0].innerText = "Quit and Open Safari Settings…"; + } + + if (typeof enabled === "boolean") { + document.body.classList.toggle(`state-on`, enabled); + document.body.classList.toggle(`state-off`, !enabled); + } else { + document.body.classList.remove(`state-on`); + document.body.classList.remove(`state-off`); + } +} + +function openPreferences() { + webkit.messageHandlers.controller.postMessage("open-preferences"); +} + +document.querySelector("button.open-preferences").addEventListener("click", openPreferences); diff --git a/Shortwaifus/Shared (App)/Resources/Style.css b/Shortwaifus/Shared (App)/Resources/Style.css new file mode 100644 index 0000000..b6d0608 --- /dev/null +++ b/Shortwaifus/Shared (App)/Resources/Style.css @@ -0,0 +1,61 @@ +* { + -webkit-user-select: none; + -webkit-user-drag: none; + cursor: default; +} + +:root { + color-scheme: light dark; + + --spacing: 20px; +} + +html { + height: 100%; +} + +body { + display: flex; + align-items: center; + justify-content: center; + flex-direction: column; + + gap: var(--spacing); + margin: 0 calc(var(--spacing) * 2); + height: 100%; + + font: -apple-system-short-body; + text-align: center; +} + +body:not(.platform-mac, .platform-ios) :is(.platform-mac, .platform-ios) { + display: none; +} + +body.platform-ios .platform-mac { + display: none; +} + +body.platform-mac .platform-ios { + display: none; +} + +body.platform-ios .platform-mac { + display: none; +} + +body:not(.state-on, .state-off) :is(.state-on, .state-off) { + display: none; +} + +body.state-on :is(.state-off, .state-unknown) { + display: none; +} + +body.state-off :is(.state-on, .state-unknown) { + display: none; +} + +button { + font-size: 1em; +} diff --git a/Shortwaifus/Shared (App)/ViewController.swift b/Shortwaifus/Shared (App)/ViewController.swift new file mode 100644 index 0000000..33488ce --- /dev/null +++ b/Shortwaifus/Shared (App)/ViewController.swift @@ -0,0 +1,81 @@ +// +// ViewController.swift +// Shared (App) +// +// Created by Emanuel Avalos on 23/04/25. +// + +import WebKit + +#if os(iOS) +import UIKit +typealias PlatformViewController = UIViewController +#elseif os(macOS) +import Cocoa +import SafariServices +typealias PlatformViewController = NSViewController +#endif + +let extensionBundleIdentifier = "cc.waifus.Shortwaifus.Extension" + +class ViewController: PlatformViewController, WKNavigationDelegate, WKScriptMessageHandler { + + @IBOutlet var webView: WKWebView! + + override func viewDidLoad() { + super.viewDidLoad() + + self.webView.navigationDelegate = self + +#if os(iOS) + self.webView.scrollView.isScrollEnabled = false +#endif + + self.webView.configuration.userContentController.add(self, name: "controller") + + self.webView.loadFileURL(Bundle.main.url(forResource: "Main", withExtension: "html")!, allowingReadAccessTo: Bundle.main.resourceURL!) + } + + func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!) { +#if os(iOS) + webView.evaluateJavaScript("show('ios')") +#elseif os(macOS) + webView.evaluateJavaScript("show('mac')") + + SFSafariExtensionManager.getStateOfSafariExtension(withIdentifier: extensionBundleIdentifier) { (state, error) in + guard let state = state, error == nil else { + // Insert code to inform the user that something went wrong. + return + } + + DispatchQueue.main.async { + if #available(macOS 13, *) { + webView.evaluateJavaScript("show('mac', \(state.isEnabled), true)") + } else { + webView.evaluateJavaScript("show('mac', \(state.isEnabled), false)") + } + } + } +#endif + } + + func userContentController(_ userContentController: WKUserContentController, didReceive message: WKScriptMessage) { +#if os(macOS) + if (message.body as! String != "open-preferences") { + return + } + + SFSafariApplication.showPreferencesForExtension(withIdentifier: extensionBundleIdentifier) { error in + guard error == nil else { + // Insert code to inform the user that something went wrong. + return + } + + DispatchQueue.main.async { + NSApp.terminate(self) + } + } +#endif + } + +} diff --git a/Shortwaifus/Shared (Extension)/Resources/_locales/en/messages.json b/Shortwaifus/Shared (Extension)/Resources/_locales/en/messages.json new file mode 100644 index 0000000..8aeeb70 --- /dev/null +++ b/Shortwaifus/Shared (Extension)/Resources/_locales/en/messages.json @@ -0,0 +1,10 @@ +{ + "extension_name": { + "message": "Shortwaifus", + "description": "The display name for the extension." + }, + "extension_description": { + "message": "This is Shortwaifus. You should tell us what your extension does here.", + "description": "Description of what the extension does." + } +} diff --git a/Shortwaifus/Shared (Extension)/Resources/background.js b/Shortwaifus/Shared (Extension)/Resources/background.js new file mode 100644 index 0000000..844acef --- /dev/null +++ b/Shortwaifus/Shared (Extension)/Resources/background.js @@ -0,0 +1,14 @@ +browser.runtime.onMessage.addListener((request, sender, sendResponse) => { + console.log("Received request: ", request); + + if (request.greeting === "hello") + return Promise.resolve({ farewell: "goodbye" }); +}); + +browser.action.onClicked.addListener((tab) => { + browser.tabs.sendMessage(tab.id, { + action: "shortenURL" + }).catch(error => { + console.error("Error sending message to content script:", error); + }); +}); diff --git a/Shortwaifus/Shared (Extension)/Resources/content.js b/Shortwaifus/Shared (Extension)/Resources/content.js new file mode 100644 index 0000000..4fd6c1b --- /dev/null +++ b/Shortwaifus/Shared (Extension)/Resources/content.js @@ -0,0 +1,29 @@ +browser.runtime.sendMessage({ greeting: "hello" }).then((response) => { + console.log("Received response: ", response); +}); + +browser.runtime.onMessage.addListener((request, sender, sendResponse) => { + console.log("Received request: ", request); + if (request.action === "shortenURL") { + const currentURL = window.location.href; + browser.runtime.sendNativeMessage("cc.waifus.ShortWaifus.Extension", currentURL) + .then(response => { + if (response && !response.startsWith("Error:")) { + navigator.clipboard.writeText(response) + .then(() => { + alert(`URL acortada y copiada al portapapeles:\n${response}`); + }) + .catch(err => { + alert(`URL acortada: ${response}\n(No se pudo copiar al portapapeles)`); + }); + } else { + alert(`Error al acortar la URL: ${response}`); + } + }) + .catch(error => { + alert("Error al comunicarse con la extensión"); + console.error(error); + }); + } + return true; +}); diff --git a/Shortwaifus/Shared (Extension)/Resources/images/icon-128.png b/Shortwaifus/Shared (Extension)/Resources/images/icon-128.png new file mode 100644 index 0000000..c919eb0 Binary files /dev/null and b/Shortwaifus/Shared (Extension)/Resources/images/icon-128.png differ diff --git a/Shortwaifus/Shared (Extension)/Resources/images/icon-256.png b/Shortwaifus/Shared (Extension)/Resources/images/icon-256.png new file mode 100644 index 0000000..6bd3d20 Binary files /dev/null and b/Shortwaifus/Shared (Extension)/Resources/images/icon-256.png differ diff --git a/Shortwaifus/Shared (Extension)/Resources/images/icon-48.png b/Shortwaifus/Shared (Extension)/Resources/images/icon-48.png new file mode 100644 index 0000000..353e8fb Binary files /dev/null and b/Shortwaifus/Shared (Extension)/Resources/images/icon-48.png differ diff --git a/Shortwaifus/Shared (Extension)/Resources/images/icon-512.png b/Shortwaifus/Shared (Extension)/Resources/images/icon-512.png new file mode 100644 index 0000000..2200828 Binary files /dev/null and b/Shortwaifus/Shared (Extension)/Resources/images/icon-512.png differ diff --git a/Shortwaifus/Shared (Extension)/Resources/images/icon-64.png b/Shortwaifus/Shared (Extension)/Resources/images/icon-64.png new file mode 100644 index 0000000..995689f Binary files /dev/null and b/Shortwaifus/Shared (Extension)/Resources/images/icon-64.png differ diff --git a/Shortwaifus/Shared (Extension)/Resources/images/icon-96.png b/Shortwaifus/Shared (Extension)/Resources/images/icon-96.png new file mode 100644 index 0000000..cb079d2 Binary files /dev/null and b/Shortwaifus/Shared (Extension)/Resources/images/icon-96.png differ diff --git a/Shortwaifus/Shared (Extension)/Resources/images/toolbar-icon.svg b/Shortwaifus/Shared (Extension)/Resources/images/toolbar-icon.svg new file mode 100644 index 0000000..133b0d9 --- /dev/null +++ b/Shortwaifus/Shared (Extension)/Resources/images/toolbar-icon.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/Shortwaifus/Shared (Extension)/Resources/manifest.json b/Shortwaifus/Shared (Extension)/Resources/manifest.json new file mode 100644 index 0000000..4c96744 --- /dev/null +++ b/Shortwaifus/Shared (Extension)/Resources/manifest.json @@ -0,0 +1,50 @@ +{ + "manifest_version": 3, + "default_locale": "en", + + "name": "ShortWaifus", + "description": "URL Shortener for waifus.cc", + "version": "1.0", + + "icons": { + "48": "images/icon-48.png", + "96": "images/icon-96.png", + "128": "images/icon-128.png", + "256": "images/icon-256.png", + "512": "images/icon-512.png" + }, + + "background": { + "scripts": [ "background.js" ], + "type": "module" + }, + + "content_scripts": [{ + "js": [ "content.js" ], + "matches": [ "" ] + }], + + "action": { + "default_popup": "popup.html", + "default_icon": { + "16": "images/toolbar-icon-16.png", + "19": "images/toolbar-icon-19.png", + "32": "images/toolbar-icon-32.png", + "38": "images/toolbar-icon-38.png", + "48": "images/toolbar-icon-48.png", + "72": "images/toolbar-icon-72.png" + } + }, + + "permissions": [ + "activeTab", + "tabs", + "clipboardWrite", + "nativeMessaging", + "storage" + ], + + "host_permissions": [ + "https://short.waifus.cc/*" + ] +} diff --git a/Shortwaifus/Shared (Extension)/Resources/popup.css b/Shortwaifus/Shared (Extension)/Resources/popup.css new file mode 100644 index 0000000..e1f17dc --- /dev/null +++ b/Shortwaifus/Shared (Extension)/Resources/popup.css @@ -0,0 +1,101 @@ +:root { + color-scheme: light dark; +} + +body { + width: 350px; + padding: 15px; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; + background-color: var(--background-color); + color: var(--text-color); +} + +.container { + display: flex; + flex-direction: column; + gap: 15px; +} + +button { + width: 100%; + padding: 10px; + background-color: #007AFF; + color: white; + border: none; + border-radius: 8px; + font-size: 14px; + cursor: pointer; + transition: background-color 0.2s; +} + +button:hover { + background-color: #0056b3; +} + +#result { + margin-top: 10px; + padding: 12px; + border-radius: 6px; + font-size: 13px; + word-break: break-all; + background-color: var(--result-background); + border: 1px solid var(--border-color); +} + +.history-section { + margin-top: 15px; + padding-top: 15px; + border-top: 1px solid var(--border-color); +} + +.history-section h3 { + margin: 0 0 10px 0; + font-size: 14px; + color: var(--text-color); +} + +#history { + display: flex; + flex-direction: column; + gap: 8px; +} + +.history-item { + padding: 8px; + border-radius: 6px; + background-color: var(--history-background); + border: 1px solid var(--border-color); +} + +.history-item .title { + font-weight: 500; + margin-bottom: 4px; +} + +.history-item .url { + font-size: 12px; + color: var(--url-color); + word-break: break-all; +} + +@media (prefers-color-scheme: dark) { + :root { + --background-color: #1c1c1e; + --text-color: #ffffff; + --result-background: #2c2c2e; + --history-background: #2c2c2e; + --border-color: #3a3a3c; + --url-color: #8e8e93; + } +} + +@media (prefers-color-scheme: light) { + :root { + --background-color: #ffffff; + --text-color: #000000; + --result-background: #f2f2f7; + --history-background: #f2f2f7; + --border-color: #c7c7cc; + --url-color: #8e8e93; + } +} diff --git a/Shortwaifus/Shared (Extension)/Resources/popup.html b/Shortwaifus/Shared (Extension)/Resources/popup.html new file mode 100644 index 0000000..3d1c796 --- /dev/null +++ b/Shortwaifus/Shared (Extension)/Resources/popup.html @@ -0,0 +1,18 @@ + + + + + + + +
+ +
+
+

Últimas URLs acortadas

+
+
+
+ + + diff --git a/Shortwaifus/Shared (Extension)/Resources/popup.js b/Shortwaifus/Shared (Extension)/Resources/popup.js new file mode 100644 index 0000000..5d62db6 --- /dev/null +++ b/Shortwaifus/Shared (Extension)/Resources/popup.js @@ -0,0 +1,106 @@ +console.log("Hello World!", browser); + +document.addEventListener('DOMContentLoaded', function() { + const shortenButton = document.getElementById('shortenButton'); + const resultDiv = document.getElementById('result'); + const historyDiv = document.getElementById('history'); + + // Cargar historial al iniciar + loadHistory(); + + shortenButton.addEventListener('click', function() { + console.log("Botón clickeado"); + browser.tabs.query({active: true, currentWindow: true}) + .then(tabs => { + console.log("Tabs encontrados:", tabs); + if (!tabs || tabs.length === 0) { + throw new Error("No se pudo encontrar la pestaña activa"); + } + const currentUrl = tabs[0].url; + console.log("URL actual:", currentUrl); + return browser.runtime.sendNativeMessage("cc.waifus.ShortWaifus.Extension", currentUrl); + }) + .then(response => { + console.log("Respuesta recibida:", response); + if (response && !response.startsWith("Error:")) { + navigator.clipboard.writeText(response) + .then(() => { + resultDiv.textContent = `URL acortada y copiada: ${response}`; + resultDiv.style.color = 'green'; + saveToHistory(response); + }) + .catch(err => { + console.error("Error al copiar al portapapeles:", err); + resultDiv.textContent = `URL acortada: ${response} (No se pudo copiar)`; + resultDiv.style.color = 'orange'; + saveToHistory(response); + }); + } else { + resultDiv.textContent = `Error: ${response}`; + resultDiv.style.color = 'red'; + } + }) + .catch(error => { + console.error("Error en el proceso:", error); + resultDiv.textContent = "Error al acortar la URL: " + error.message; + resultDiv.style.color = 'red'; + }); + }); + + function saveToHistory(shortUrl) { + browser.tabs.query({active: true, currentWindow: true}) + .then(tabs => { + const currentTab = tabs[0]; + const historyItem = { + title: currentTab.title, + url: shortUrl, + timestamp: Date.now() + }; + + browser.storage.local.get('history') + .then(data => { + let history = data.history || []; + history.unshift(historyItem); + history = history.slice(0, 5); + return browser.storage.local.set({ history: history }); + }) + .then(() => { + loadHistory(); + }) + .catch(error => { + console.error("Error al guardar en historial:", error); + }); + }) + .catch(error => { + console.error("Error al obtener información de la pestaña:", error); + }); + } + + function loadHistory() { + browser.storage.local.get('history') + .then(data => { + const history = data.history || []; + historyDiv.innerHTML = ''; + + history.forEach(item => { + const historyItem = document.createElement('div'); + historyItem.className = 'history-item'; + + const title = document.createElement('div'); + title.className = 'title'; + title.textContent = item.title; + + const url = document.createElement('div'); + url.className = 'url'; + url.textContent = item.url; + + historyItem.appendChild(title); + historyItem.appendChild(url); + historyDiv.appendChild(historyItem); + }); + }) + .catch(error => { + console.error("Error al cargar historial:", error); + }); + } +}); diff --git a/Shortwaifus/Shared (Extension)/SafariWebExtensionHandler.swift b/Shortwaifus/Shared (Extension)/SafariWebExtensionHandler.swift new file mode 100644 index 0000000..ee2e27a --- /dev/null +++ b/Shortwaifus/Shared (Extension)/SafariWebExtensionHandler.swift @@ -0,0 +1,63 @@ +// +// SafariWebExtensionHandler.swift +// Shared (Extension) +// +// Created by Emanuel Avalos on 23/04/25. +// + +import SafariServices +import Foundation + +class SafariWebExtensionHandler: NSObject, NSExtensionRequestHandling { + + func beginRequest(with context: NSExtensionContext) { + let item = context.inputItems[0] as! NSExtensionItem + let message = item.userInfo?[SFExtensionMessageKey] + + if let url = message as? String { + shortenURL(urlString: url) { shortUrl in + let response = NSExtensionItem() + response.userInfo = [ SFExtensionMessageKey: shortUrl ] + context.completeRequest(returningItems: [response], completionHandler: nil) + } + } + } + + private func shortenURL(urlString: String, completion: @escaping (String) -> Void) { + guard let encodedUrl = urlString.addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed), + let apiUrl = URL(string: "https://short.waifus.cc/yourls-api.php?signature=215c678cd4&action=shorturl&url=\(encodedUrl)&format=json") else { + NSLog("Invalid URL: %@", urlString) + completion("Error: Invalid URL") + return + } + + let task = URLSession.shared.dataTask(with: apiUrl) { data, response, error in + if let error = error { + NSLog("Network error: %@", error.localizedDescription) + completion("Error: Network request failed") + return + } + + guard let data = data else { + NSLog("No data received") + completion("Error: No data received") + return + } + + do { + if let json = try JSONSerialization.jsonObject(with: data, options: []) as? [String: Any], + let shortUrl = json["shorturl"] as? String { + completion(shortUrl) + } else { + NSLog("Invalid JSON response") + completion("Error: Invalid server response") + } + } catch { + NSLog("JSON parsing error: %@", error.localizedDescription) + completion("Error: Could not parse response") + } + } + + task.resume() + } +} diff --git a/Shortwaifus/Shortwaifus.xcodeproj/project.pbxproj b/Shortwaifus/Shortwaifus.xcodeproj/project.pbxproj new file mode 100644 index 0000000..0bfcf08 --- /dev/null +++ b/Shortwaifus/Shortwaifus.xcodeproj/project.pbxproj @@ -0,0 +1,897 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 77; + objects = { + +/* Begin PBXBuildFile section */ + 2F9376472DB9AF5D006E9AC3 /* Shortwaifus Extension.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = 2F9376462DB9AF5D006E9AC3 /* Shortwaifus Extension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; + 2F9376512DB9AF5D006E9AC3 /* Shortwaifus Extension.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = 2F9376502DB9AF5D006E9AC3 /* Shortwaifus Extension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 2F9376482DB9AF5D006E9AC3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 2F93760C2DB9AF5C006E9AC3 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 2F9376452DB9AF5D006E9AC3; + remoteInfo = "Shortwaifus Extension (iOS)"; + }; + 2F9376522DB9AF5D006E9AC3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 2F93760C2DB9AF5C006E9AC3 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 2F93764F2DB9AF5D006E9AC3; + remoteInfo = "Shortwaifus Extension (macOS)"; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 2F93767A2DB9AF5D006E9AC3 /* Embed Foundation Extensions */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 13; + files = ( + 2F9376472DB9AF5D006E9AC3 /* Shortwaifus Extension.appex in Embed Foundation Extensions */, + ); + name = "Embed Foundation Extensions"; + runOnlyForDeploymentPostprocessing = 0; + }; + 2F9376842DB9AF5D006E9AC3 /* Embed Foundation Extensions */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 13; + files = ( + 2F9376512DB9AF5D006E9AC3 /* Shortwaifus Extension.appex in Embed Foundation Extensions */, + ); + name = "Embed Foundation Extensions"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 2F9376282DB9AF5D006E9AC3 /* Shortwaifus.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Shortwaifus.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 2F93763A2DB9AF5D006E9AC3 /* Shortwaifus.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Shortwaifus.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 2F9376462DB9AF5D006E9AC3 /* Shortwaifus Extension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = "Shortwaifus Extension.appex"; sourceTree = BUILT_PRODUCTS_DIR; }; + 2F9376502DB9AF5D006E9AC3 /* Shortwaifus Extension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = "Shortwaifus Extension.appex"; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFileSystemSynchronizedBuildFileExceptionSet section */ + 2F9376752DB9AF5D006E9AC3 /* Exceptions for "Shared (App)" folder in "Shortwaifus (iOS)" target */ = { + isa = PBXFileSystemSynchronizedBuildFileExceptionSet; + membershipExceptions = ( + "/Localized: Resources/Main.html", + Assets.xcassets, + Resources/Icon.png, + Resources/Script.js, + Resources/Style.css, + ViewController.swift, + ); + target = 2F9376272DB9AF5D006E9AC3 /* Shortwaifus (iOS) */; + }; + 2F9376792DB9AF5D006E9AC3 /* Exceptions for "iOS (Extension)" folder in "Shortwaifus Extension (iOS)" target */ = { + isa = PBXFileSystemSynchronizedBuildFileExceptionSet; + membershipExceptions = ( + Info.plist, + ); + target = 2F9376452DB9AF5D006E9AC3 /* Shortwaifus Extension (iOS) */; + }; + 2F93767E2DB9AF5D006E9AC3 /* Exceptions for "iOS (App)" folder in "Shortwaifus (iOS)" target */ = { + isa = PBXFileSystemSynchronizedBuildFileExceptionSet; + membershipExceptions = ( + Info.plist, + ); + target = 2F9376272DB9AF5D006E9AC3 /* Shortwaifus (iOS) */; + }; + 2F93767F2DB9AF5D006E9AC3 /* Exceptions for "Shared (App)" folder in "Shortwaifus (macOS)" target */ = { + isa = PBXFileSystemSynchronizedBuildFileExceptionSet; + membershipExceptions = ( + "/Localized: Resources/Main.html", + Assets.xcassets, + Resources/Icon.png, + Resources/Script.js, + Resources/Style.css, + ViewController.swift, + ); + target = 2F9376392DB9AF5D006E9AC3 /* Shortwaifus (macOS) */; + }; + 2F9376832DB9AF5D006E9AC3 /* Exceptions for "macOS (Extension)" folder in "Shortwaifus Extension (macOS)" target */ = { + isa = PBXFileSystemSynchronizedBuildFileExceptionSet; + membershipExceptions = ( + Info.plist, + ); + target = 2F93764F2DB9AF5D006E9AC3 /* Shortwaifus Extension (macOS) */; + }; + 2F9376882DB9AF5D006E9AC3 /* Exceptions for "Shared (Extension)" folder in "Shortwaifus Extension (iOS)" target */ = { + isa = PBXFileSystemSynchronizedBuildFileExceptionSet; + membershipExceptions = ( + Resources/_locales, + Resources/background.js, + Resources/content.js, + Resources/images, + Resources/manifest.json, + Resources/popup.css, + Resources/popup.html, + Resources/popup.js, + SafariWebExtensionHandler.swift, + ); + target = 2F9376452DB9AF5D006E9AC3 /* Shortwaifus Extension (iOS) */; + }; + 2F9376892DB9AF5D006E9AC3 /* Exceptions for "Shared (Extension)" folder in "Shortwaifus Extension (macOS)" target */ = { + isa = PBXFileSystemSynchronizedBuildFileExceptionSet; + membershipExceptions = ( + Resources/_locales, + Resources/background.js, + Resources/content.js, + Resources/images, + Resources/manifest.json, + Resources/popup.css, + Resources/popup.html, + Resources/popup.js, + SafariWebExtensionHandler.swift, + ); + target = 2F93764F2DB9AF5D006E9AC3 /* Shortwaifus Extension (macOS) */; + }; +/* End PBXFileSystemSynchronizedBuildFileExceptionSet section */ + +/* Begin PBXFileSystemSynchronizedRootGroup section */ + 2F9376102DB9AF5C006E9AC3 /* Shared (App) */ = { + isa = PBXFileSystemSynchronizedRootGroup; + exceptions = ( + 2F9376752DB9AF5D006E9AC3 /* Exceptions for "Shared (App)" folder in "Shortwaifus (iOS)" target */, + 2F93767F2DB9AF5D006E9AC3 /* Exceptions for "Shared (App)" folder in "Shortwaifus (macOS)" target */, + ); + path = "Shared (App)"; + sourceTree = ""; + }; + 2F9376192DB9AF5D006E9AC3 /* Shared (Extension) */ = { + isa = PBXFileSystemSynchronizedRootGroup; + exceptions = ( + 2F9376882DB9AF5D006E9AC3 /* Exceptions for "Shared (Extension)" folder in "Shortwaifus Extension (iOS)" target */, + 2F9376892DB9AF5D006E9AC3 /* Exceptions for "Shared (Extension)" folder in "Shortwaifus Extension (macOS)" target */, + ); + explicitFolders = ( + Resources/_locales, + Resources/images, + ); + path = "Shared (Extension)"; + sourceTree = ""; + }; + 2F93762A2DB9AF5D006E9AC3 /* iOS (App) */ = { + isa = PBXFileSystemSynchronizedRootGroup; + exceptions = ( + 2F93767E2DB9AF5D006E9AC3 /* Exceptions for "iOS (App)" folder in "Shortwaifus (iOS)" target */, + ); + path = "iOS (App)"; + sourceTree = ""; + }; + 2F93763B2DB9AF5D006E9AC3 /* macOS (App) */ = { + isa = PBXFileSystemSynchronizedRootGroup; + path = "macOS (App)"; + sourceTree = ""; + }; + 2F93764A2DB9AF5D006E9AC3 /* iOS (Extension) */ = { + isa = PBXFileSystemSynchronizedRootGroup; + exceptions = ( + 2F9376792DB9AF5D006E9AC3 /* Exceptions for "iOS (Extension)" folder in "Shortwaifus Extension (iOS)" target */, + ); + path = "iOS (Extension)"; + sourceTree = ""; + }; + 2F9376542DB9AF5D006E9AC3 /* macOS (Extension) */ = { + isa = PBXFileSystemSynchronizedRootGroup; + exceptions = ( + 2F9376832DB9AF5D006E9AC3 /* Exceptions for "macOS (Extension)" folder in "Shortwaifus Extension (macOS)" target */, + ); + path = "macOS (Extension)"; + sourceTree = ""; + }; +/* End PBXFileSystemSynchronizedRootGroup section */ + +/* Begin PBXFrameworksBuildPhase section */ + 2F9376252DB9AF5D006E9AC3 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2F9376372DB9AF5D006E9AC3 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2F9376432DB9AF5D006E9AC3 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2F93764D2DB9AF5D006E9AC3 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 2F93760B2DB9AF5C006E9AC3 = { + isa = PBXGroup; + children = ( + 2F9376102DB9AF5C006E9AC3 /* Shared (App) */, + 2F9376192DB9AF5D006E9AC3 /* Shared (Extension) */, + 2F93762A2DB9AF5D006E9AC3 /* iOS (App) */, + 2F93763B2DB9AF5D006E9AC3 /* macOS (App) */, + 2F93764A2DB9AF5D006E9AC3 /* iOS (Extension) */, + 2F9376542DB9AF5D006E9AC3 /* macOS (Extension) */, + 2F9376292DB9AF5D006E9AC3 /* Products */, + ); + sourceTree = ""; + }; + 2F9376292DB9AF5D006E9AC3 /* Products */ = { + isa = PBXGroup; + children = ( + 2F9376282DB9AF5D006E9AC3 /* Shortwaifus.app */, + 2F93763A2DB9AF5D006E9AC3 /* Shortwaifus.app */, + 2F9376462DB9AF5D006E9AC3 /* Shortwaifus Extension.appex */, + 2F9376502DB9AF5D006E9AC3 /* Shortwaifus Extension.appex */, + ); + name = Products; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 2F9376272DB9AF5D006E9AC3 /* Shortwaifus (iOS) */ = { + isa = PBXNativeTarget; + buildConfigurationList = 2F93767B2DB9AF5D006E9AC3 /* Build configuration list for PBXNativeTarget "Shortwaifus (iOS)" */; + buildPhases = ( + 2F9376242DB9AF5D006E9AC3 /* Sources */, + 2F9376252DB9AF5D006E9AC3 /* Frameworks */, + 2F9376262DB9AF5D006E9AC3 /* Resources */, + 2F93767A2DB9AF5D006E9AC3 /* Embed Foundation Extensions */, + ); + buildRules = ( + ); + dependencies = ( + 2F9376492DB9AF5D006E9AC3 /* PBXTargetDependency */, + ); + fileSystemSynchronizedGroups = ( + 2F93762A2DB9AF5D006E9AC3 /* iOS (App) */, + ); + name = "Shortwaifus (iOS)"; + packageProductDependencies = ( + ); + productName = "Shortwaifus (iOS)"; + productReference = 2F9376282DB9AF5D006E9AC3 /* Shortwaifus.app */; + productType = "com.apple.product-type.application"; + }; + 2F9376392DB9AF5D006E9AC3 /* Shortwaifus (macOS) */ = { + isa = PBXNativeTarget; + buildConfigurationList = 2F9376852DB9AF5D006E9AC3 /* Build configuration list for PBXNativeTarget "Shortwaifus (macOS)" */; + buildPhases = ( + 2F9376362DB9AF5D006E9AC3 /* Sources */, + 2F9376372DB9AF5D006E9AC3 /* Frameworks */, + 2F9376382DB9AF5D006E9AC3 /* Resources */, + 2F9376842DB9AF5D006E9AC3 /* Embed Foundation Extensions */, + ); + buildRules = ( + ); + dependencies = ( + 2F9376532DB9AF5D006E9AC3 /* PBXTargetDependency */, + ); + fileSystemSynchronizedGroups = ( + 2F93763B2DB9AF5D006E9AC3 /* macOS (App) */, + ); + name = "Shortwaifus (macOS)"; + packageProductDependencies = ( + ); + productName = "Shortwaifus (macOS)"; + productReference = 2F93763A2DB9AF5D006E9AC3 /* Shortwaifus.app */; + productType = "com.apple.product-type.application"; + }; + 2F9376452DB9AF5D006E9AC3 /* Shortwaifus Extension (iOS) */ = { + isa = PBXNativeTarget; + buildConfigurationList = 2F9376762DB9AF5D006E9AC3 /* Build configuration list for PBXNativeTarget "Shortwaifus Extension (iOS)" */; + buildPhases = ( + 2F9376422DB9AF5D006E9AC3 /* Sources */, + 2F9376432DB9AF5D006E9AC3 /* Frameworks */, + 2F9376442DB9AF5D006E9AC3 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + fileSystemSynchronizedGroups = ( + 2F93764A2DB9AF5D006E9AC3 /* iOS (Extension) */, + ); + name = "Shortwaifus Extension (iOS)"; + packageProductDependencies = ( + ); + productName = "Shortwaifus Extension (iOS)"; + productReference = 2F9376462DB9AF5D006E9AC3 /* Shortwaifus Extension.appex */; + productType = "com.apple.product-type.app-extension"; + }; + 2F93764F2DB9AF5D006E9AC3 /* Shortwaifus Extension (macOS) */ = { + isa = PBXNativeTarget; + buildConfigurationList = 2F9376802DB9AF5D006E9AC3 /* Build configuration list for PBXNativeTarget "Shortwaifus Extension (macOS)" */; + buildPhases = ( + 2F93764C2DB9AF5D006E9AC3 /* Sources */, + 2F93764D2DB9AF5D006E9AC3 /* Frameworks */, + 2F93764E2DB9AF5D006E9AC3 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + fileSystemSynchronizedGroups = ( + 2F9376542DB9AF5D006E9AC3 /* macOS (Extension) */, + ); + name = "Shortwaifus Extension (macOS)"; + packageProductDependencies = ( + ); + productName = "Shortwaifus Extension (macOS)"; + productReference = 2F9376502DB9AF5D006E9AC3 /* Shortwaifus Extension.appex */; + productType = "com.apple.product-type.app-extension"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 2F93760C2DB9AF5C006E9AC3 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1630; + LastUpgradeCheck = 1630; + TargetAttributes = { + 2F9376272DB9AF5D006E9AC3 = { + CreatedOnToolsVersion = 16.3; + }; + 2F9376392DB9AF5D006E9AC3 = { + CreatedOnToolsVersion = 16.3; + }; + 2F9376452DB9AF5D006E9AC3 = { + CreatedOnToolsVersion = 16.3; + }; + 2F93764F2DB9AF5D006E9AC3 = { + CreatedOnToolsVersion = 16.3; + }; + }; + }; + buildConfigurationList = 2F93760F2DB9AF5C006E9AC3 /* Build configuration list for PBXProject "Shortwaifus" */; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 2F93760B2DB9AF5C006E9AC3; + minimizedProjectReferenceProxies = 1; + preferredProjectObjectVersion = 77; + productRefGroup = 2F9376292DB9AF5D006E9AC3 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 2F9376272DB9AF5D006E9AC3 /* Shortwaifus (iOS) */, + 2F9376392DB9AF5D006E9AC3 /* Shortwaifus (macOS) */, + 2F9376452DB9AF5D006E9AC3 /* Shortwaifus Extension (iOS) */, + 2F93764F2DB9AF5D006E9AC3 /* Shortwaifus Extension (macOS) */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 2F9376262DB9AF5D006E9AC3 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2F9376382DB9AF5D006E9AC3 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2F9376442DB9AF5D006E9AC3 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2F93764E2DB9AF5D006E9AC3 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 2F9376242DB9AF5D006E9AC3 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2F9376362DB9AF5D006E9AC3 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2F9376422DB9AF5D006E9AC3 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2F93764C2DB9AF5D006E9AC3 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 2F9376492DB9AF5D006E9AC3 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 2F9376452DB9AF5D006E9AC3 /* Shortwaifus Extension (iOS) */; + targetProxy = 2F9376482DB9AF5D006E9AC3 /* PBXContainerItemProxy */; + }; + 2F9376532DB9AF5D006E9AC3 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 2F93764F2DB9AF5D006E9AC3 /* Shortwaifus Extension (macOS) */; + targetProxy = 2F9376522DB9AF5D006E9AC3 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 2F9376772DB9AF5D006E9AC3 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = "iOS (Extension)/Info.plist"; + INFOPLIST_KEY_CFBundleDisplayName = "Shortwaifus Extension"; + INFOPLIST_KEY_NSHumanReadableCopyright = ""; + IPHONEOS_DEPLOYMENT_TARGET = 15.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@executable_path/../../Frameworks", + ); + MARKETING_VERSION = 1.0; + OTHER_LDFLAGS = ( + "-framework", + SafariServices, + ); + PRODUCT_BUNDLE_IDENTIFIER = cc.waifus.Shortwaifus.Extension; + PRODUCT_NAME = "Shortwaifus Extension"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 2F9376782DB9AF5D006E9AC3 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = "iOS (Extension)/Info.plist"; + INFOPLIST_KEY_CFBundleDisplayName = "Shortwaifus Extension"; + INFOPLIST_KEY_NSHumanReadableCopyright = ""; + IPHONEOS_DEPLOYMENT_TARGET = 15.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@executable_path/../../Frameworks", + ); + MARKETING_VERSION = 1.0; + OTHER_LDFLAGS = ( + "-framework", + SafariServices, + ); + PRODUCT_BUNDLE_IDENTIFIER = cc.waifus.Shortwaifus.Extension; + PRODUCT_NAME = "Shortwaifus Extension"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 2F93767C2DB9AF5D006E9AC3 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = "iOS (App)/Info.plist"; + INFOPLIST_KEY_CFBundleDisplayName = Shortwaifus; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen; + INFOPLIST_KEY_UIMainStoryboardFile = Main; + INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + IPHONEOS_DEPLOYMENT_TARGET = 15.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + OTHER_LDFLAGS = ( + "-framework", + SafariServices, + "-framework", + WebKit, + ); + PRODUCT_BUNDLE_IDENTIFIER = cc.waifus.Shortwaifus; + PRODUCT_NAME = Shortwaifus; + SDKROOT = iphoneos; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 2F93767D2DB9AF5D006E9AC3 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = "iOS (App)/Info.plist"; + INFOPLIST_KEY_CFBundleDisplayName = Shortwaifus; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen; + INFOPLIST_KEY_UIMainStoryboardFile = Main; + INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + IPHONEOS_DEPLOYMENT_TARGET = 15.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + OTHER_LDFLAGS = ( + "-framework", + SafariServices, + "-framework", + WebKit, + ); + PRODUCT_BUNDLE_IDENTIFIER = cc.waifus.Shortwaifus; + PRODUCT_NAME = Shortwaifus; + SDKROOT = iphoneos; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 2F9376812DB9AF5D006E9AC3 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_ENTITLEMENTS = "macOS (Extension)/Shortwaifus.entitlements"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + ENABLE_HARDENED_RUNTIME = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = "macOS (Extension)/Info.plist"; + INFOPLIST_KEY_CFBundleDisplayName = "Shortwaifus Extension"; + INFOPLIST_KEY_NSHumanReadableCopyright = ""; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + "@executable_path/../../../../Frameworks", + ); + MACOSX_DEPLOYMENT_TARGET = 10.14; + MARKETING_VERSION = 1.0; + OTHER_LDFLAGS = ( + "-framework", + SafariServices, + ); + PRODUCT_BUNDLE_IDENTIFIER = cc.waifus.Shortwaifus.Extension; + PRODUCT_NAME = "Shortwaifus Extension"; + SDKROOT = macosx; + SKIP_INSTALL = YES; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + }; + name = Debug; + }; + 2F9376822DB9AF5D006E9AC3 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_ENTITLEMENTS = "macOS (Extension)/Shortwaifus.entitlements"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + ENABLE_HARDENED_RUNTIME = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = "macOS (Extension)/Info.plist"; + INFOPLIST_KEY_CFBundleDisplayName = "Shortwaifus Extension"; + INFOPLIST_KEY_NSHumanReadableCopyright = ""; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + "@executable_path/../../../../Frameworks", + ); + MACOSX_DEPLOYMENT_TARGET = 10.14; + MARKETING_VERSION = 1.0; + OTHER_LDFLAGS = ( + "-framework", + SafariServices, + ); + PRODUCT_BUNDLE_IDENTIFIER = cc.waifus.Shortwaifus.Extension; + PRODUCT_NAME = "Shortwaifus Extension"; + SDKROOT = macosx; + SKIP_INSTALL = YES; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + }; + name = Release; + }; + 2F9376862DB9AF5D006E9AC3 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = "macOS (App)/Shortwaifus.entitlements"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + ENABLE_HARDENED_RUNTIME = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_CFBundleDisplayName = Shortwaifus; + INFOPLIST_KEY_NSMainStoryboardFile = Main; + INFOPLIST_KEY_NSPrincipalClass = NSApplication; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); + MACOSX_DEPLOYMENT_TARGET = 10.14; + MARKETING_VERSION = 1.0; + OTHER_LDFLAGS = ( + "-framework", + SafariServices, + "-framework", + WebKit, + ); + PRODUCT_BUNDLE_IDENTIFIER = cc.waifus.Shortwaifus; + PRODUCT_NAME = Shortwaifus; + REGISTER_APP_GROUPS = YES; + SDKROOT = macosx; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + }; + name = Debug; + }; + 2F9376872DB9AF5D006E9AC3 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = "macOS (App)/Shortwaifus.entitlements"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + ENABLE_HARDENED_RUNTIME = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_CFBundleDisplayName = Shortwaifus; + INFOPLIST_KEY_NSMainStoryboardFile = Main; + INFOPLIST_KEY_NSPrincipalClass = NSApplication; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); + MACOSX_DEPLOYMENT_TARGET = 10.14; + MARKETING_VERSION = 1.0; + OTHER_LDFLAGS = ( + "-framework", + SafariServices, + "-framework", + WebKit, + ); + PRODUCT_BUNDLE_IDENTIFIER = cc.waifus.Shortwaifus; + PRODUCT_NAME = Shortwaifus; + REGISTER_APP_GROUPS = YES; + SDKROOT = macosx; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + }; + name = Release; + }; + 2F93768A2DB9AF5D006E9AC3 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 2F93768B2DB9AF5D006E9AC3 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SWIFT_COMPILATION_MODE = wholemodule; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 2F93760F2DB9AF5C006E9AC3 /* Build configuration list for PBXProject "Shortwaifus" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2F93768A2DB9AF5D006E9AC3 /* Debug */, + 2F93768B2DB9AF5D006E9AC3 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 2F9376762DB9AF5D006E9AC3 /* Build configuration list for PBXNativeTarget "Shortwaifus Extension (iOS)" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2F9376772DB9AF5D006E9AC3 /* Debug */, + 2F9376782DB9AF5D006E9AC3 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 2F93767B2DB9AF5D006E9AC3 /* Build configuration list for PBXNativeTarget "Shortwaifus (iOS)" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2F93767C2DB9AF5D006E9AC3 /* Debug */, + 2F93767D2DB9AF5D006E9AC3 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 2F9376802DB9AF5D006E9AC3 /* Build configuration list for PBXNativeTarget "Shortwaifus Extension (macOS)" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2F9376812DB9AF5D006E9AC3 /* Debug */, + 2F9376822DB9AF5D006E9AC3 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 2F9376852DB9AF5D006E9AC3 /* Build configuration list for PBXNativeTarget "Shortwaifus (macOS)" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2F9376862DB9AF5D006E9AC3 /* Debug */, + 2F9376872DB9AF5D006E9AC3 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 2F93760C2DB9AF5C006E9AC3 /* Project object */; +} diff --git a/Shortwaifus/Shortwaifus.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Shortwaifus/Shortwaifus.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/Shortwaifus/Shortwaifus.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Shortwaifus/Shortwaifus.xcodeproj/project.xcworkspace/xcuserdata/remaster.xcuserdatad/UserInterfaceState.xcuserstate b/Shortwaifus/Shortwaifus.xcodeproj/project.xcworkspace/xcuserdata/remaster.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..0301148 Binary files /dev/null and b/Shortwaifus/Shortwaifus.xcodeproj/project.xcworkspace/xcuserdata/remaster.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/Shortwaifus/Shortwaifus.xcodeproj/xcuserdata/remaster.xcuserdatad/xcschemes/xcschememanagement.plist b/Shortwaifus/Shortwaifus.xcodeproj/xcuserdata/remaster.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..b402357 --- /dev/null +++ b/Shortwaifus/Shortwaifus.xcodeproj/xcuserdata/remaster.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,19 @@ + + + + + SchemeUserState + + Shortwaifus (iOS).xcscheme_^#shared#^_ + + orderHint + 0 + + Shortwaifus (macOS).xcscheme_^#shared#^_ + + orderHint + 1 + + + + diff --git a/Shortwaifus/iOS (App)/AppDelegate.swift b/Shortwaifus/iOS (App)/AppDelegate.swift new file mode 100644 index 0000000..c6883d2 --- /dev/null +++ b/Shortwaifus/iOS (App)/AppDelegate.swift @@ -0,0 +1,24 @@ +// +// AppDelegate.swift +// iOS (App) +// +// Created by Emanuel Avalos on 23/04/25. +// + +import UIKit + +@main +class AppDelegate: UIResponder, UIApplicationDelegate { + + var window: UIWindow? + + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { + // Override point for customization after application launch. + return true + } + + func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration { + return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role) + } + +} diff --git a/Shortwaifus/iOS (App)/Base.lproj/LaunchScreen.storyboard b/Shortwaifus/iOS (App)/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 0000000..620a70c --- /dev/null +++ b/Shortwaifus/iOS (App)/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Shortwaifus/iOS (App)/Base.lproj/Main.storyboard b/Shortwaifus/iOS (App)/Base.lproj/Main.storyboard new file mode 100644 index 0000000..618dfce --- /dev/null +++ b/Shortwaifus/iOS (App)/Base.lproj/Main.storyboard @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Shortwaifus/iOS (App)/Info.plist b/Shortwaifus/iOS (App)/Info.plist new file mode 100644 index 0000000..dd3c9af --- /dev/null +++ b/Shortwaifus/iOS (App)/Info.plist @@ -0,0 +1,25 @@ + + + + + UIApplicationSceneManifest + + UIApplicationSupportsMultipleScenes + + UISceneConfigurations + + UIWindowSceneSessionRoleApplication + + + UISceneConfigurationName + Default Configuration + UISceneDelegateClassName + $(PRODUCT_MODULE_NAME).SceneDelegate + UISceneStoryboardFile + Main + + + + + + diff --git a/Shortwaifus/iOS (App)/SceneDelegate.swift b/Shortwaifus/iOS (App)/SceneDelegate.swift new file mode 100644 index 0000000..a8f7b4f --- /dev/null +++ b/Shortwaifus/iOS (App)/SceneDelegate.swift @@ -0,0 +1,18 @@ +// +// SceneDelegate.swift +// iOS (App) +// +// Created by Emanuel Avalos on 23/04/25. +// + +import UIKit + +class SceneDelegate: UIResponder, UIWindowSceneDelegate { + + var window: UIWindow? + + func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) { + guard let _ = (scene as? UIWindowScene) else { return } + } + +} diff --git a/Shortwaifus/iOS (Extension)/Info.plist b/Shortwaifus/iOS (Extension)/Info.plist new file mode 100644 index 0000000..9ee504d --- /dev/null +++ b/Shortwaifus/iOS (Extension)/Info.plist @@ -0,0 +1,13 @@ + + + + + NSExtension + + NSExtensionPointIdentifier + com.apple.Safari.web-extension + NSExtensionPrincipalClass + $(PRODUCT_MODULE_NAME).SafariWebExtensionHandler + + + diff --git a/Shortwaifus/macOS (App)/AppDelegate.swift b/Shortwaifus/macOS (App)/AppDelegate.swift new file mode 100644 index 0000000..b734d49 --- /dev/null +++ b/Shortwaifus/macOS (App)/AppDelegate.swift @@ -0,0 +1,21 @@ +// +// AppDelegate.swift +// macOS (App) +// +// Created by Emanuel Avalos on 23/04/25. +// + +import Cocoa + +@main +class AppDelegate: NSObject, NSApplicationDelegate { + + func applicationDidFinishLaunching(_ notification: Notification) { + // Override point for customization after application launch. + } + + func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool { + return true + } + +} diff --git a/Shortwaifus/macOS (App)/Base.lproj/Main.storyboard b/Shortwaifus/macOS (App)/Base.lproj/Main.storyboard new file mode 100644 index 0000000..952d901 --- /dev/null +++ b/Shortwaifus/macOS (App)/Base.lproj/Main.storyboard @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Shortwaifus/macOS (App)/Shortwaifus.entitlements b/Shortwaifus/macOS (App)/Shortwaifus.entitlements new file mode 100644 index 0000000..625af03 --- /dev/null +++ b/Shortwaifus/macOS (App)/Shortwaifus.entitlements @@ -0,0 +1,12 @@ + + + + + com.apple.security.app-sandbox + + com.apple.security.files.user-selected.read-only + + com.apple.security.network.client + + + diff --git a/Shortwaifus/macOS (Extension)/Info.plist b/Shortwaifus/macOS (Extension)/Info.plist new file mode 100644 index 0000000..9ee504d --- /dev/null +++ b/Shortwaifus/macOS (Extension)/Info.plist @@ -0,0 +1,13 @@ + + + + + NSExtension + + NSExtensionPointIdentifier + com.apple.Safari.web-extension + NSExtensionPrincipalClass + $(PRODUCT_MODULE_NAME).SafariWebExtensionHandler + + + diff --git a/Shortwaifus/macOS (Extension)/Shortwaifus.entitlements b/Shortwaifus/macOS (Extension)/Shortwaifus.entitlements new file mode 100644 index 0000000..bcef223 --- /dev/null +++ b/Shortwaifus/macOS (Extension)/Shortwaifus.entitlements @@ -0,0 +1,14 @@ + + + + + com.apple.security.app-sandbox + + com.apple.security.files.user-selected.read-only + + com.apple.security.network.client + + com.apple.security.web-extension + + +