From 7833b1447e8bb63d7ad84105b8fbca5286ba6755 Mon Sep 17 00:00:00 2001 From: Jason Pepas Date: Sun, 23 Jul 2023 18:28:30 -0500 Subject: [PATCH] Initial import --- .gitignore | 1 + .../VLCFileUrl.xcodeproj/project.pbxproj | 333 +++++++++ .../contents.xcworkspacedata | 7 + .../xcshareddata/IDEWorkspaceChecks.plist | 8 + .../xcschemes/VLCFileUrl.xcscheme | 78 ++ VLCFileUrl/VLCFileUrl/AppDelegate.swift | 29 + .../AccentColor.colorset/Contents.json | 11 + .../AppIcon.appiconset/Contents.json | 58 ++ .../VLCFileUrl/Assets.xcassets/Contents.json | 6 + VLCFileUrl/VLCFileUrl/Base.lproj/MainMenu.xib | 680 ++++++++++++++++++ VLCFileUrl/VLCFileUrl/Info.plist | 43 ++ VLCFileUrl/VLCFileUrl/VLCFileUrl.entitlements | 10 + 12 files changed, 1264 insertions(+) create mode 100644 .gitignore create mode 100644 VLCFileUrl/VLCFileUrl.xcodeproj/project.pbxproj create mode 100644 VLCFileUrl/VLCFileUrl.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 VLCFileUrl/VLCFileUrl.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 VLCFileUrl/VLCFileUrl.xcodeproj/xcshareddata/xcschemes/VLCFileUrl.xcscheme create mode 100644 VLCFileUrl/VLCFileUrl/AppDelegate.swift create mode 100644 VLCFileUrl/VLCFileUrl/Assets.xcassets/AccentColor.colorset/Contents.json create mode 100644 VLCFileUrl/VLCFileUrl/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 VLCFileUrl/VLCFileUrl/Assets.xcassets/Contents.json create mode 100644 VLCFileUrl/VLCFileUrl/Base.lproj/MainMenu.xib create mode 100644 VLCFileUrl/VLCFileUrl/Info.plist create mode 100644 VLCFileUrl/VLCFileUrl/VLCFileUrl.entitlements diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a06e4b3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.xcuserdatad/ diff --git a/VLCFileUrl/VLCFileUrl.xcodeproj/project.pbxproj b/VLCFileUrl/VLCFileUrl.xcodeproj/project.pbxproj new file mode 100644 index 0000000..c8ad0c6 --- /dev/null +++ b/VLCFileUrl/VLCFileUrl.xcodeproj/project.pbxproj @@ -0,0 +1,333 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 50; + objects = { + +/* Begin PBXBuildFile section */ + 2B3E1C5A2A6DE015006BE048 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2B3E1C592A6DE015006BE048 /* AppDelegate.swift */; }; + 2B3E1C5C2A6DE016006BE048 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 2B3E1C5B2A6DE016006BE048 /* Assets.xcassets */; }; + 2B3E1C5F2A6DE016006BE048 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 2B3E1C5D2A6DE016006BE048 /* MainMenu.xib */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 2B3E1C562A6DE015006BE048 /* VLCFileUrl.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = VLCFileUrl.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 2B3E1C592A6DE015006BE048 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + 2B3E1C5B2A6DE016006BE048 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 2B3E1C5E2A6DE016006BE048 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = ""; }; + 2B3E1C602A6DE016006BE048 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 2B3E1C612A6DE016006BE048 /* VLCFileUrl.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = VLCFileUrl.entitlements; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 2B3E1C532A6DE015006BE048 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 2B3E1C4D2A6DE015006BE048 = { + isa = PBXGroup; + children = ( + 2B3E1C582A6DE015006BE048 /* VLCFileUrl */, + 2B3E1C572A6DE015006BE048 /* Products */, + ); + sourceTree = ""; + }; + 2B3E1C572A6DE015006BE048 /* Products */ = { + isa = PBXGroup; + children = ( + 2B3E1C562A6DE015006BE048 /* VLCFileUrl.app */, + ); + name = Products; + sourceTree = ""; + }; + 2B3E1C582A6DE015006BE048 /* VLCFileUrl */ = { + isa = PBXGroup; + children = ( + 2B3E1C592A6DE015006BE048 /* AppDelegate.swift */, + 2B3E1C5B2A6DE016006BE048 /* Assets.xcassets */, + 2B3E1C5D2A6DE016006BE048 /* MainMenu.xib */, + 2B3E1C602A6DE016006BE048 /* Info.plist */, + 2B3E1C612A6DE016006BE048 /* VLCFileUrl.entitlements */, + ); + path = VLCFileUrl; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 2B3E1C552A6DE015006BE048 /* VLCFileUrl */ = { + isa = PBXNativeTarget; + buildConfigurationList = 2B3E1C642A6DE016006BE048 /* Build configuration list for PBXNativeTarget "VLCFileUrl" */; + buildPhases = ( + 2B3E1C522A6DE015006BE048 /* Sources */, + 2B3E1C532A6DE015006BE048 /* Frameworks */, + 2B3E1C542A6DE015006BE048 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = VLCFileUrl; + productName = VLCFileUrl; + productReference = 2B3E1C562A6DE015006BE048 /* VLCFileUrl.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 2B3E1C4E2A6DE015006BE048 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 1240; + LastUpgradeCheck = 1240; + TargetAttributes = { + 2B3E1C552A6DE015006BE048 = { + CreatedOnToolsVersion = 12.4; + }; + }; + }; + buildConfigurationList = 2B3E1C512A6DE015006BE048 /* Build configuration list for PBXProject "VLCFileUrl" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 2B3E1C4D2A6DE015006BE048; + productRefGroup = 2B3E1C572A6DE015006BE048 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 2B3E1C552A6DE015006BE048 /* VLCFileUrl */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 2B3E1C542A6DE015006BE048 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2B3E1C5C2A6DE016006BE048 /* Assets.xcassets in Resources */, + 2B3E1C5F2A6DE016006BE048 /* MainMenu.xib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 2B3E1C522A6DE015006BE048 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2B3E1C5A2A6DE015006BE048 /* AppDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + 2B3E1C5D2A6DE016006BE048 /* MainMenu.xib */ = { + isa = PBXVariantGroup; + children = ( + 2B3E1C5E2A6DE016006BE048 /* Base */, + ); + name = MainMenu.xib; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 2B3E1C622A6DE016006BE048 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + 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; + GCC_C_LANGUAGE_STANDARD = gnu11; + 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; + MACOSX_DEPLOYMENT_TARGET = 10.15; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = macosx; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 2B3E1C632A6DE016006BE048 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + 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; + GCC_C_LANGUAGE_STANDARD = gnu11; + 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; + MACOSX_DEPLOYMENT_TARGET = 10.15; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = macosx; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + }; + name = Release; + }; + 2B3E1C652A6DE016006BE048 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = VLCFileUrl/VLCFileUrl.entitlements; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + DEVELOPMENT_TEAM = CPE62329FB; + ENABLE_HARDENED_RUNTIME = YES; + INFOPLIST_FILE = VLCFileUrl/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); + MARKETING_VERSION = 0.1; + PRODUCT_BUNDLE_IDENTIFIER = com.pepaslabs.VLCFileUrl; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + }; + name = Debug; + }; + 2B3E1C662A6DE016006BE048 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = VLCFileUrl/VLCFileUrl.entitlements; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + DEVELOPMENT_TEAM = CPE62329FB; + ENABLE_HARDENED_RUNTIME = YES; + INFOPLIST_FILE = VLCFileUrl/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); + MARKETING_VERSION = 0.1; + PRODUCT_BUNDLE_IDENTIFIER = com.pepaslabs.VLCFileUrl; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 2B3E1C512A6DE015006BE048 /* Build configuration list for PBXProject "VLCFileUrl" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2B3E1C622A6DE016006BE048 /* Debug */, + 2B3E1C632A6DE016006BE048 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 2B3E1C642A6DE016006BE048 /* Build configuration list for PBXNativeTarget "VLCFileUrl" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2B3E1C652A6DE016006BE048 /* Debug */, + 2B3E1C662A6DE016006BE048 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 2B3E1C4E2A6DE015006BE048 /* Project object */; +} diff --git a/VLCFileUrl/VLCFileUrl.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/VLCFileUrl/VLCFileUrl.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/VLCFileUrl/VLCFileUrl.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/VLCFileUrl/VLCFileUrl.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/VLCFileUrl/VLCFileUrl.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/VLCFileUrl/VLCFileUrl.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/VLCFileUrl/VLCFileUrl.xcodeproj/xcshareddata/xcschemes/VLCFileUrl.xcscheme b/VLCFileUrl/VLCFileUrl.xcodeproj/xcshareddata/xcschemes/VLCFileUrl.xcscheme new file mode 100644 index 0000000..1799f30 --- /dev/null +++ b/VLCFileUrl/VLCFileUrl.xcodeproj/xcshareddata/xcschemes/VLCFileUrl.xcscheme @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/VLCFileUrl/VLCFileUrl/AppDelegate.swift b/VLCFileUrl/VLCFileUrl/AppDelegate.swift new file mode 100644 index 0000000..6975599 --- /dev/null +++ b/VLCFileUrl/VLCFileUrl/AppDelegate.swift @@ -0,0 +1,29 @@ +// +// AppDelegate.swift +// VLCFileUrl +// +// Created by Jason Pepas on 7/23/23. +// + +import Cocoa + +@main +class AppDelegate: NSObject, NSApplicationDelegate { + + @IBOutlet var window: NSWindow! + + func application(_ application: NSApplication, open urls: [URL]) { + for url in urls { + let httpUrlString = url.absoluteString.replacingOccurrences( + of: "vlc-file://", + with: "http://" + ) + let job = Process() + job.executableURL = URL(fileURLWithPath: "/usr/bin/open") + job.arguments = ["-a", "VLC", httpUrlString] + try? job.run() + job.waitUntilExit() + } + NSApp.terminate(self) + } +} diff --git a/VLCFileUrl/VLCFileUrl/Assets.xcassets/AccentColor.colorset/Contents.json b/VLCFileUrl/VLCFileUrl/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/VLCFileUrl/VLCFileUrl/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/VLCFileUrl/VLCFileUrl/Assets.xcassets/AppIcon.appiconset/Contents.json b/VLCFileUrl/VLCFileUrl/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..3f00db4 --- /dev/null +++ b/VLCFileUrl/VLCFileUrl/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,58 @@ +{ + "images" : [ + { + "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/VLCFileUrl/VLCFileUrl/Assets.xcassets/Contents.json b/VLCFileUrl/VLCFileUrl/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/VLCFileUrl/VLCFileUrl/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/VLCFileUrl/VLCFileUrl/Base.lproj/MainMenu.xib b/VLCFileUrl/VLCFileUrl/Base.lproj/MainMenu.xib new file mode 100644 index 0000000..4e257f4 --- /dev/null +++ b/VLCFileUrl/VLCFileUrl/Base.lproj/MainMenu.xib @@ -0,0 +1,680 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Default + + + + + + + Left to Right + + + + + + + Right to Left + + + + + + + + + + + Default + + + + + + + Left to Right + + + + + + + Right to Left + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/VLCFileUrl/VLCFileUrl/Info.plist b/VLCFileUrl/VLCFileUrl/Info.plist new file mode 100644 index 0000000..464dd6c --- /dev/null +++ b/VLCFileUrl/VLCFileUrl/Info.plist @@ -0,0 +1,43 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIconFile + + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + $(PRODUCT_BUNDLE_PACKAGE_TYPE) + CFBundleShortVersionString + $(MARKETING_VERSION) + CFBundleURLTypes + + + CFBundleTypeRole + Viewer + CFBundleURLName + com.pepaslabs.VLCFileUrl.vlc-file + CFBundleURLSchemes + + vlc-file + + + + CFBundleVersion + 1 + LSMinimumSystemVersion + $(MACOSX_DEPLOYMENT_TARGET) + NSMainNibFile + MainMenu + NSPrincipalClass + NSApplication + + diff --git a/VLCFileUrl/VLCFileUrl/VLCFileUrl.entitlements b/VLCFileUrl/VLCFileUrl/VLCFileUrl.entitlements new file mode 100644 index 0000000..f2ef3ae --- /dev/null +++ b/VLCFileUrl/VLCFileUrl/VLCFileUrl.entitlements @@ -0,0 +1,10 @@ + + + + + com.apple.security.app-sandbox + + com.apple.security.files.user-selected.read-only + + +