Compare commits

...

4 Commits

Author SHA1 Message Date
Martyn eed80115fd Export including windows exe files" 2020-09-20 12:53:16 +02:00
Martyn 4f7598759d source for the .ico 2020-09-20 12:52:36 +02:00
Martyn 1deca177d2 Fix the playback of the converted version 2020-09-20 12:51:54 +02:00
Martyn d681e038f5 Dist doesn't belong in git 2020-09-20 12:50:44 +02:00
5 changed files with 75 additions and 6 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
*.exe
.import
dist

68
godot/export_presets.cfg Normal file
View File

@ -0,0 +1,68 @@
[preset.0]
name="win64"
platform="Windows Desktop"
runnable=true
custom_features=""
export_filter="all_resources"
include_filter="dlserver.exe,ffmpeg.exe,youtube-dl.exe"
exclude_filter=""
export_path="../dist/win64/asingcrow.exe"
patch_list=PoolStringArray( )
script_export_mode=1
script_encryption_key=""
[preset.0.options]
texture_format/bptc=false
texture_format/s3tc=true
texture_format/etc=false
texture_format/etc2=false
texture_format/no_bptc_fallbacks=true
binary_format/64_bits=true
binary_format/embed_pck=false
custom_template/release=""
custom_template/debug=""
codesign/enable=false
codesign/identity_type=0
codesign/identity=""
codesign/password=""
codesign/timestamp=true
codesign/timestamp_server_url=""
codesign/digest_algorithm=1
codesign/description=""
codesign/custom_options=PoolStringArray( )
application/icon="res://icon.ico"
application/file_version="0.0.1"
application/product_version="0.0.1"
application/company_name="Opensource"
application/product_name="ASingCrow"
application/file_description="Asynchronous Duets on the Fediverse"
application/copyright=""
application/trademarks=""
[preset.1]
name="Linux/X11"
platform="Linux/X11"
runnable=true
custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path="../dist/linux/asingcrow.x86_64"
patch_list=PoolStringArray( )
script_export_mode=1
script_encryption_key=""
[preset.1.options]
texture_format/bptc=false
texture_format/s3tc=true
texture_format/etc=false
texture_format/etc2=false
texture_format/no_bptc_fallbacks=true
binary_format/64_bits=true
binary_format/embed_pck=false
custom_template/release=""
custom_template/debug=""

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 9.7 KiB

View File

@ -17,7 +17,7 @@ func _ready():
func _on_Control_ready():
$vp.set_stream(load(OS.get_user_data_dir()+"/test.webm"))
$vp.set_stream(load(OS.get_user_data_dir()+"/converted.webm"))
print($vp.get_stream_name())
$vp.play()
pass # Replace with function body.

View File

@ -24,14 +24,14 @@ func _on_Timer2_timeout():
var dir = Directory.new()
if !o.file_exists('user://youtube-dl.exe'):
print("Need youtube-dl")
dir.copy("./youtube-dl.exe", "user://youtube-dl.exe")
dir.copy("res://youtube-dl.exe", "user://youtube-dl.exe")
if !o.file_exists('user://ffmpeg.exe'):
print("Need ffmpeg")
dir.copy("./ffmpeg.exe", "user://ffmpeg.exe")
dir.copy("res://ffmpeg.exe", "user://ffmpeg.exe")
if !o.file_exists('user://dlserver.exe'):
print("Need dlserver")
dir.copy("./dlserver.exe", "user://dlserver.exe")
Globals.pid_of_dlserver = OS.execute(".\\dlserver.exe", [OS.get_user_data_dir()], false)
dir.copy("res://dlserver.exe", "user://dlserver.exe")
Globals.pid_of_dlserver = OS.execute(OS.get_user_data_dir()+"/dlserver.exe", [OS.get_user_data_dir()], false)
print("Started dl-server, pid ", Globals.pid_of_dlserver)
$ValidateServerRunningTimer.start()