Versión funcional de la aplicación.

This commit is contained in:
remaster 2025-04-23 18:04:09 -06:00
commit 2eb91c204a
39 changed files with 1965 additions and 0 deletions

View file

@ -0,0 +1,11 @@
{
"colors" : [
{
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

View file

@ -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
}
}

View file

@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}

View file

@ -0,0 +1,20 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

View file

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Security-Policy" content="default-src 'self'">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<link rel="stylesheet" href="../Style.css">
<script src="../Script.js" defer></script>
</head>
<body>
<img src="../Icon.png" width="128" height="128" alt="Shortwaifus Icon">
<p class="platform-ios">You can turn on Shortwaifus’s Safari extension in Settings.</p>
<p class="platform-mac state-unknown">You can turn on Shortwaifus’s extension in Safari Extensions preferences.</p>
<p class="platform-mac state-on">Shortwaifus’s extension is currently on. You can turn it off in Safari Extensions preferences.</p>
<p class="platform-mac state-off">Shortwaifus’s extension is currently off. You can turn it on in Safari Extensions preferences.</p>
<button class="platform-mac open-preferences">Quit and Open Safari Extensions Preferences…</button>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

View file

@ -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);

View file

@ -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;
}

View file

@ -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
}
}

View file

@ -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."
}
}

View file

@ -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);
});
});

View file

@ -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;
});

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.9375 15.9453">
<path d="M7.96875 15.9375C12.3281 15.9375 15.9375 12.3203 15.9375 7.96875C15.9375 3.60938 12.3203 0 7.96094 0C3.60938 0 0 3.60938 0 7.96875C0 12.3203 3.61719 15.9375 7.96875 15.9375ZM7.96875 14.6094C4.28125 14.6094 1.33594 11.6562 1.33594 7.96875C1.33594 4.28125 4.27344 1.32812 7.96094 1.32812C11.6484 1.32812 14.6094 4.28125 14.6094 7.96875C14.6094 11.6562 11.6562 14.6094 7.96875 14.6094Z" />
<path d="M4.53906 8.50781C4.53906 8.70312 4.69531 8.84375 4.89844 8.84375L7.54688 8.84375L6.13281 12.6406C5.94531 13.1406 6.47656 13.4141 6.80469 13.0078L11.0859 7.63281C11.1719 7.53906 11.2188 7.42969 11.2188 7.32812C11.2188 7.13281 11.0625 6.99219 10.8594 6.99219L8.21094 6.99219L9.625 3.19531C9.8125 2.69531 9.28125 2.42188 8.95312 2.82031L4.67188 8.19531C4.58594 8.29688 4.53906 8.40625 4.53906 8.50781Z" />
</svg>

After

Width:  |  Height:  |  Size: 943 B

View file

@ -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": [ "<all_urls>" ]
}],
"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/*"
]
}

View file

@ -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;
}
}

View file

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="popup.css">
</head>
<body>
<div class="container">
<button id="shortenButton">Acortar URL</button>
<div id="result"></div>
<div class="history-section">
<h3>Últimas URLs acortadas</h3>
<div id="history"></div>
</div>
</div>
<script src="popup.js"></script>
</body>
</html>

View file

@ -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);
});
}
});

View file

@ -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()
}
}

View file

@ -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 = "<group>";
};
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 = "<group>";
};
2F93762A2DB9AF5D006E9AC3 /* iOS (App) */ = {
isa = PBXFileSystemSynchronizedRootGroup;
exceptions = (
2F93767E2DB9AF5D006E9AC3 /* Exceptions for "iOS (App)" folder in "Shortwaifus (iOS)" target */,
);
path = "iOS (App)";
sourceTree = "<group>";
};
2F93763B2DB9AF5D006E9AC3 /* macOS (App) */ = {
isa = PBXFileSystemSynchronizedRootGroup;
path = "macOS (App)";
sourceTree = "<group>";
};
2F93764A2DB9AF5D006E9AC3 /* iOS (Extension) */ = {
isa = PBXFileSystemSynchronizedRootGroup;
exceptions = (
2F9376792DB9AF5D006E9AC3 /* Exceptions for "iOS (Extension)" folder in "Shortwaifus Extension (iOS)" target */,
);
path = "iOS (Extension)";
sourceTree = "<group>";
};
2F9376542DB9AF5D006E9AC3 /* macOS (Extension) */ = {
isa = PBXFileSystemSynchronizedRootGroup;
exceptions = (
2F9376832DB9AF5D006E9AC3 /* Exceptions for "macOS (Extension)" folder in "Shortwaifus Extension (macOS)" target */,
);
path = "macOS (Extension)";
sourceTree = "<group>";
};
/* 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 = "<group>";
};
2F9376292DB9AF5D006E9AC3 /* Products */ = {
isa = PBXGroup;
children = (
2F9376282DB9AF5D006E9AC3 /* Shortwaifus.app */,
2F93763A2DB9AF5D006E9AC3 /* Shortwaifus.app */,
2F9376462DB9AF5D006E9AC3 /* Shortwaifus Extension.appex */,
2F9376502DB9AF5D006E9AC3 /* Shortwaifus Extension.appex */,
);
name = Products;
sourceTree = "<group>";
};
/* 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 */;
}

View file

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:">
</FileRef>
</Workspace>

View file

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>Shortwaifus (iOS).xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
<key>Shortwaifus (macOS).xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>1</integer>
</dict>
</dict>
</dict>
</plist>

View file

@ -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)
}
}

View file

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="19085" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="19082"/>
<capability name="Image references" minToolsVersion="12.0"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="EHf-IW-A2E">
<objects>
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="6HG-Um-bch">
<rect key="frame" x="142" y="385" width="128" height="128"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
<imageReference key="image" image="LargeIcon"/>
</imageView>
</subviews>
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
<color key="backgroundColor" xcode11CocoaTouchSystemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="53" y="375"/>
</scene>
</scenes>
<resources>
<image name="LargeIcon" width="128" height="128"/>
</resources>
</document>

View file

@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="18122" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="18093"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="tne-QT-ifu">
<objects>
<viewController id="BYZ-38-t0r" customClass="ViewController" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<wkWebView contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="RDB-ib-igF">
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<wkWebViewConfiguration key="configuration">
<audiovisualMediaTypes key="mediaTypesRequiringUserActionForPlayback" none="YES"/>
<wkPreferences key="preferences"/>
</wkWebViewConfiguration>
</wkWebView>
</subviews>
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
</view>
<connections>
<outlet property="webView" destination="RDB-ib-igF" id="avx-RC-qRB"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="53" y="375"/>
</scene>
</scenes>
</document>

View file

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>UIApplicationSceneManifest</key>
<dict>
<key>UIApplicationSupportsMultipleScenes</key>
<false/>
<key>UISceneConfigurations</key>
<dict>
<key>UIWindowSceneSessionRoleApplication</key>
<array>
<dict>
<key>UISceneConfigurationName</key>
<string>Default Configuration</string>
<key>UISceneDelegateClassName</key>
<string>$(PRODUCT_MODULE_NAME).SceneDelegate</string>
<key>UISceneStoryboardFile</key>
<string>Main</string>
</dict>
</array>
</dict>
</dict>
</dict>
</plist>

View file

@ -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 }
}
}

View file

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSExtension</key>
<dict>
<key>NSExtensionPointIdentifier</key>
<string>com.apple.Safari.web-extension</string>
<key>NSExtensionPrincipalClass</key>
<string>$(PRODUCT_MODULE_NAME).SafariWebExtensionHandler</string>
</dict>
</dict>
</plist>

View file

@ -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
}
}

View file

@ -0,0 +1,124 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="19085" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" initialViewController="B8D-0N-5wS">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="19085"/>
<plugIn identifier="com.apple.WebKit2IBPlugin" version="19085"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--Application-->
<scene sceneID="JPo-4y-FX3">
<objects>
<application id="hnw-xV-0zn" sceneMemberID="viewController">
<menu key="mainMenu" title="Main Menu" systemMenu="main" id="AYu-sK-qS6">
<items>
<menuItem title="Shortwaifus" id="1Xt-HY-uBw">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Shortwaifus" systemMenu="apple" id="uQy-DD-JDr">
<items>
<menuItem title="About Shortwaifus" id="5kV-Vb-QxS">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="orderFrontStandardAboutPanel:" target="Ady-hI-5gd" id="Exp-CZ-Vem"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="VOq-y0-SEH"/>
<menuItem title="Hide Shortwaifus" keyEquivalent="h" id="Olw-nP-bQN">
<connections>
<action selector="hide:" target="Ady-hI-5gd" id="PnN-Uc-m68"/>
</connections>
</menuItem>
<menuItem title="Hide Others" keyEquivalent="h" id="Vdr-fp-XzO">
<modifierMask key="keyEquivalentModifierMask" option="YES" command="YES"/>
<connections>
<action selector="hideOtherApplications:" target="Ady-hI-5gd" id="VT4-aY-XCT"/>
</connections>
</menuItem>
<menuItem title="Show All" id="Kd2-mp-pUS">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="unhideAllApplications:" target="Ady-hI-5gd" id="Dhg-Le-xox"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="kCx-OE-vgT"/>
<menuItem title="Quit Shortwaifus" keyEquivalent="q" id="4sb-4s-VLi">
<connections>
<action selector="terminate:" target="Ady-hI-5gd" id="Te7-pn-YzF"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem title="Help" id="wpr-3q-Mcd">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Help" systemMenu="help" id="F2S-fz-NVQ">
<items>
<menuItem title="Shortwaifus Help" keyEquivalent="?" id="FKE-Sm-Kum">
<connections>
<action selector="showHelp:" target="Ady-hI-5gd" id="y7X-2Q-9no"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
</items>
</menu>
<connections>
<outlet property="delegate" destination="Voe-Tx-rLC" id="PrD-fu-P6m"/>
</connections>
</application>
<customObject id="Voe-Tx-rLC" customClass="AppDelegate" customModuleProvider="target"/>
<customObject id="YLy-65-1bz" customClass="NSFontManager"/>
<customObject id="Ady-hI-5gd" userLabel="First Responder" customClass="NSResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="76" y="-134"/>
</scene>
<!--Window Controller-->
<scene sceneID="R2V-B0-nI4">
<objects>
<windowController showSeguePresentationStyle="single" id="B8D-0N-5wS" sceneMemberID="viewController">
<window key="window" title="Shortwaifus" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" restorable="NO" releasedWhenClosed="NO" animationBehavior="default" id="IQv-IB-iLA">
<windowStyleMask key="styleMask" titled="YES" closable="YES"/>
<windowCollectionBehavior key="collectionBehavior" fullScreenNone="YES"/>
<rect key="contentRect" x="196" y="240" width="425" height="325"/>
<rect key="screenRect" x="0.0" y="0.0" width="1680" height="1027"/>
<connections>
<outlet property="delegate" destination="B8D-0N-5wS" id="98r-iN-zZc"/>
</connections>
</window>
<connections>
<segue destination="XfG-lQ-9wD" kind="relationship" relationship="window.shadowedContentViewController" id="cq2-FE-JQM"/>
</connections>
</windowController>
<customObject id="Oky-zY-oP4" userLabel="First Responder" customClass="NSResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="75" y="250"/>
</scene>
<!--View Controller-->
<scene sceneID="hIz-AP-VOD">
<objects>
<viewController id="XfG-lQ-9wD" customClass="ViewController" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" id="m2S-Jp-Qdl">
<rect key="frame" x="0.0" y="0.0" width="425" height="325"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<wkWebView wantsLayer="YES" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="eOr-cG-IQY">
<rect key="frame" x="0.0" y="0.0" width="425" height="325"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<wkWebViewConfiguration key="configuration">
<audiovisualMediaTypes key="mediaTypesRequiringUserActionForPlayback" none="YES"/>
<wkPreferences key="preferences"/>
</wkWebViewConfiguration>
</wkWebView>
</subviews>
</view>
<connections>
<outlet property="webView" destination="eOr-cG-IQY" id="GFe-mU-dBY"/>
</connections>
</viewController>
<customObject id="rPt-NT-nkU" userLabel="First Responder" customClass="NSResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="75" y="655"/>
</scene>
</scenes>
</document>

View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.files.user-selected.read-only</key>
<true/>
<key>com.apple.security.network.client</key>
<true/>
</dict>
</plist>

View file

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSExtension</key>
<dict>
<key>NSExtensionPointIdentifier</key>
<string>com.apple.Safari.web-extension</string>
<key>NSExtensionPrincipalClass</key>
<string>$(PRODUCT_MODULE_NAME).SafariWebExtensionHandler</string>
</dict>
</dict>
</plist>

View file

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.files.user-selected.read-only</key>
<true/>
<key>com.apple.security.network.client</key>
<true/>
<key>com.apple.security.web-extension</key>
<true/>
</dict>
</plist>