chore: add .gitignore, remove build artifacts from tracking
This commit is contained in:
parent
d7a819af27
commit
af71d46c63
@ -1 +0,0 @@
|
||||
3447
|
||||
Binary file not shown.
@ -1,8 +0,0 @@
|
||||
<?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.get-task-allow</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
@ -1,17 +0,0 @@
|
||||
import Foundation
|
||||
|
||||
extension Foundation.Bundle {
|
||||
static let module: Bundle = {
|
||||
let mainPath = Bundle.main.bundleURL.appendingPathComponent("MiniPlayer_MiniPlayer.bundle").path
|
||||
let buildPath = "/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/MiniPlayer_MiniPlayer.bundle"
|
||||
|
||||
let preferredBundle = Bundle(path: mainPath)
|
||||
|
||||
guard let bundle = preferredBundle ?? Bundle(path: buildPath) else {
|
||||
// Users can write a function called fatalError themselves, we should be resilient against that.
|
||||
Swift.fatalError("could not load resource bundle: from \(mainPath) or \(buildPath)")
|
||||
}
|
||||
|
||||
return bundle
|
||||
}()
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,40 +0,0 @@
|
||||
{
|
||||
"": {
|
||||
"swift-dependencies": "/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/MiniPlayer.build/master.swiftdeps"
|
||||
},
|
||||
"/Users/ymq/swift/MiniPlayer/Sources/MiniPlayerApp.swift": {
|
||||
"dependencies": "/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/MiniPlayer.build/MiniPlayerApp.d",
|
||||
"object": "/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/MiniPlayer.build/MiniPlayerApp.swift.o",
|
||||
"swiftmodule": "/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/MiniPlayer.build/MiniPlayerApp~partial.swiftmodule",
|
||||
"swift-dependencies": "/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/MiniPlayer.build/MiniPlayerApp.swiftdeps",
|
||||
"diagnostics": "/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/MiniPlayer.build/MiniPlayerApp.dia"
|
||||
},
|
||||
"/Users/ymq/swift/MiniPlayer/Sources/PlayerBridge.swift": {
|
||||
"dependencies": "/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/MiniPlayer.build/PlayerBridge.d",
|
||||
"object": "/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/MiniPlayer.build/PlayerBridge.swift.o",
|
||||
"swiftmodule": "/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/MiniPlayer.build/PlayerBridge~partial.swiftmodule",
|
||||
"swift-dependencies": "/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/MiniPlayer.build/PlayerBridge.swiftdeps",
|
||||
"diagnostics": "/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/MiniPlayer.build/PlayerBridge.dia"
|
||||
},
|
||||
"/Users/ymq/swift/MiniPlayer/Sources/ProgressSlider.swift": {
|
||||
"dependencies": "/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/MiniPlayer.build/ProgressSlider.d",
|
||||
"object": "/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/MiniPlayer.build/ProgressSlider.swift.o",
|
||||
"swiftmodule": "/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/MiniPlayer.build/ProgressSlider~partial.swiftmodule",
|
||||
"swift-dependencies": "/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/MiniPlayer.build/ProgressSlider.swiftdeps",
|
||||
"diagnostics": "/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/MiniPlayer.build/ProgressSlider.dia"
|
||||
},
|
||||
"/Users/ymq/swift/MiniPlayer/Sources/VideoPlayerView.swift": {
|
||||
"dependencies": "/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/MiniPlayer.build/VideoPlayerView.d",
|
||||
"object": "/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/MiniPlayer.build/VideoPlayerView.swift.o",
|
||||
"swiftmodule": "/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/MiniPlayer.build/VideoPlayerView~partial.swiftmodule",
|
||||
"swift-dependencies": "/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/MiniPlayer.build/VideoPlayerView.swiftdeps",
|
||||
"diagnostics": "/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/MiniPlayer.build/VideoPlayerView.dia"
|
||||
},
|
||||
"/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/MiniPlayer.build/DerivedSources/resource_bundle_accessor.swift": {
|
||||
"dependencies": "/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/MiniPlayer.build/resource_bundle_accessor.d",
|
||||
"object": "/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/MiniPlayer.build/resource_bundle_accessor.swift.o",
|
||||
"swiftmodule": "/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/MiniPlayer.build/resource_bundle_accessor~partial.swiftmodule",
|
||||
"swift-dependencies": "/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/MiniPlayer.build/resource_bundle_accessor.swiftdeps",
|
||||
"diagnostics": "/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/MiniPlayer.build/resource_bundle_accessor.dia"
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,5 +0,0 @@
|
||||
/Users/ymq/swift/MiniPlayer/Sources/MiniPlayerApp.swift
|
||||
/Users/ymq/swift/MiniPlayer/Sources/PlayerBridge.swift
|
||||
/Users/ymq/swift/MiniPlayer/Sources/ProgressSlider.swift
|
||||
/Users/ymq/swift/MiniPlayer/Sources/VideoPlayerView.swift
|
||||
/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/MiniPlayer.build/DerivedSources/resource_bundle_accessor.swift
|
||||
@ -1,20 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.apple.xcode.dsym.MiniPlayer</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>dSYM</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
</dict>
|
||||
</plist>
|
||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -1,21 +0,0 @@
|
||||
/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/MiniPlayer.build/MiniPlayerApp.swift.o
|
||||
/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/MiniPlayer.build/PlayerBridge.swift.o
|
||||
/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/MiniPlayer.build/ProgressSlider.swift.o
|
||||
/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/MiniPlayer.build/VideoPlayerView.swift.o
|
||||
/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/MiniPlayer.build/resource_bundle_accessor.swift.o
|
||||
/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/SwiftBricks.build/BricksView.swift.o
|
||||
/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/SwiftBricks.build/ButtonControl.swift.o
|
||||
/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/SwiftBricks.build/ControlRenderer.swift.o
|
||||
/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/SwiftBricks.build/Engine.swift.o
|
||||
/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/SwiftBricks.build/EventBus.swift.o
|
||||
/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/SwiftBricks.build/FormControl.swift.o
|
||||
/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/SwiftBricks.build/I18n.swift.o
|
||||
/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/SwiftBricks.build/InputControl.swift.o
|
||||
/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/SwiftBricks.build/RPC.swift.o
|
||||
/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/SwiftBricks.build/Schema.swift.o
|
||||
/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/SwiftBricks.build/Store.swift.o
|
||||
/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/SwiftBricks.build/SwiftBricks.swift.o
|
||||
/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/SwiftBricks.build/TabViewControl.swift.o
|
||||
/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/SwiftBricks.build/TabularControl.swift.o
|
||||
/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/SwiftBricks.build/TextControl.swift.o
|
||||
/Users/ymq/swift/MiniPlayer/.build/arm64-apple-macosx/debug/SwiftBricks.build/VBoxControl.swift.o
|
||||
@ -1,109 +0,0 @@
|
||||
{
|
||||
"id": "app",
|
||||
"widgettype": "VBox",
|
||||
"options": { "width": "100%", "height": "100%", "spacing": 0, "padding": "0" },
|
||||
"subwidgets": [
|
||||
{
|
||||
"widgettype": "VideoPlayer",
|
||||
"id": "video_player",
|
||||
"options": { "width": "100%", "bgcolor": "#000000" },
|
||||
"binds": [
|
||||
{ "wid": "self", "event": "click", "actiontype": "event", "target": "player.toggle" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"widgettype": "VBox",
|
||||
"options": { "width": "100%", "css": "card", "padding": "8px", "spacing": 4 },
|
||||
"subwidgets": [
|
||||
{
|
||||
"widgettype": "HBox",
|
||||
"options": { "width": "100%", "spacing": 6, "alignItems": "center" },
|
||||
"subwidgets": [
|
||||
{ "widgettype": "Text", "id": "time_current", "options": { "text": "00:00", "i18n": false } },
|
||||
{ "widgettype": "ProgressSlider", "id": "progress_slider", "options": { "width": "100%" } },
|
||||
{ "widgettype": "Text", "id": "time_total", "options": { "text": "00:00", "i18n": false } }
|
||||
]
|
||||
},
|
||||
{
|
||||
"widgettype": "HBox",
|
||||
"options": { "width": "100%", "spacing": 4, "alignItems": "center" },
|
||||
"subwidgets": [
|
||||
{
|
||||
"widgettype": "Button", "id": "btn_prev",
|
||||
"options": { "label": "⏮", "css": "text" },
|
||||
"binds": [{ "wid": "self", "event": "click", "actiontype": "event", "target": "player.prev" }]
|
||||
},
|
||||
{
|
||||
"widgettype": "Button", "id": "btn_play",
|
||||
"options": { "label": "▶️", "css": "text" },
|
||||
"binds": [{ "wid": "self", "event": "click", "actiontype": "event", "target": "player.toggle" }]
|
||||
},
|
||||
{
|
||||
"widgettype": "Button", "id": "btn_next",
|
||||
"options": { "label": "⏭", "css": "text" },
|
||||
"binds": [{ "wid": "self", "event": "click", "actiontype": "event", "target": "player.next" }]
|
||||
},
|
||||
{ "widgettype": "Filler" },
|
||||
{
|
||||
"widgettype": "Text", "id": "track_label",
|
||||
"options": { "text": "🎵 Track 1", "i18n": false }
|
||||
},
|
||||
{
|
||||
"widgettype": "Button", "id": "btn_track",
|
||||
"options": { "label": "音轨", "css": "text" },
|
||||
"binds": [{ "wid": "self", "event": "click", "actiontype": "event", "target": "player.show_tracks" }]
|
||||
},
|
||||
{
|
||||
"widgettype": "Button", "id": "btn_repeat",
|
||||
"options": { "label": "🔁 列表循环", "css": "text" },
|
||||
"binds": [{ "wid": "self", "event": "click", "actiontype": "event", "target": "player.cycle_repeat" }]
|
||||
},
|
||||
{
|
||||
"widgettype": "Button", "id": "btn_fullscreen",
|
||||
"options": { "label": "⛶", "css": "text" },
|
||||
"binds": [{ "wid": "self", "event": "click", "actiontype": "event", "target": "player.fullscreen" }]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"widgettype": "HBox",
|
||||
"options": { "width": "100%", "padding": "4px", "spacing": 6, "alignItems": "center" },
|
||||
"subwidgets": [
|
||||
{
|
||||
"widgettype": "InlineForm",
|
||||
"id": "add_form",
|
||||
"options": {
|
||||
"show_label": false,
|
||||
"submit_label": "添加URL",
|
||||
"fields": [
|
||||
{ "name": "url", "placeholder": "M3U8 / 视频URL", "uitype": "str", "cwidth": 30 }
|
||||
]
|
||||
},
|
||||
"binds": [{ "wid": "self", "event": "submit", "actiontype": "event", "target": "player.add_url" }]
|
||||
},
|
||||
{
|
||||
"widgettype": "Button", "id": "btn_open_file",
|
||||
"options": { "label": "📂 打开文件", "css": "text" },
|
||||
"binds": [{ "wid": "self", "event": "click", "actiontype": "event", "target": "player.open_file" }]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"widgettype": "VScrollPanel",
|
||||
"id": "playlist_panel",
|
||||
"options": { "width": "100%", "css": "filler" },
|
||||
"subwidgets": [
|
||||
{
|
||||
"widgettype": "Title5",
|
||||
"options": { "text": "播放列表", "i18n": true }
|
||||
},
|
||||
{
|
||||
"widgettype": "Text", "id": "playlist_empty",
|
||||
"options": { "text": "暂无媒体,请添加文件或URL", "i18n": true, "color": "#888888" }
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user