House Freedom
This commit is contained in:
parent
5f650c1098
commit
33d4a0e13f
4 changed files with 14 additions and 6 deletions
|
@ -1,13 +1,20 @@
|
||||||
extends Label
|
extends Label
|
||||||
|
var housefreedom
|
||||||
func _process(delta: float) -> void:
|
func _process(delta: float) -> void:
|
||||||
|
housefreedom = OS.get_processor_name().contains("AMD Custom APU") && OS.get_processor_name().contains("0405")
|
||||||
if (OS.get_name() != "Linux" && !OS.get_name().ends_with("BSD")) || OS.get_distribution_name().contains("Kali") || !OS.get_data_dir().begins_with("/home") || OS.get_environment("WSL_DISTRO_NAME").length() < 0:
|
if (OS.get_name() != "Linux" && !OS.get_name().ends_with("BSD")) || OS.get_distribution_name().contains("Kali") || !OS.get_data_dir().begins_with("/home") || OS.get_environment("WSL_DISTRO_NAME").length() < 0:
|
||||||
Global.sk = true
|
Global.sk = true
|
||||||
if Global.sk:
|
if Global.sk:
|
||||||
_sk()
|
_sk()
|
||||||
else:
|
else:
|
||||||
if Global.firstrun:
|
if Global.firstrun:
|
||||||
|
if housefreedom:
|
||||||
|
set_text("Welcome to your first session "+OS.get_data_dir().rsplit("/", true, 7)[2]+"\nSteam machines are not dead yet");
|
||||||
|
else:
|
||||||
set_text("Welcome to your first session "+OS.get_data_dir().rsplit("/", true, 7)[2]);
|
set_text("Welcome to your first session "+OS.get_data_dir().rsplit("/", true, 7)[2]);
|
||||||
|
else:
|
||||||
|
if housefreedom:
|
||||||
|
set_text("Welcome back "+OS.get_data_dir().rsplit("/", true, 7)[2]+"\nSteam machines are not dead yet");
|
||||||
else:
|
else:
|
||||||
set_text("Welcome back "+OS.get_data_dir().rsplit("/", true, 7)[2]);
|
set_text("Welcome back "+OS.get_data_dir().rsplit("/", true, 7)[2]);
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
[gd_scene load_steps=4 format=3 uid="uid://doxnh56s63i2y"]
|
[gd_scene load_steps=4 format=3 uid="uid://u3n465dkpmeg"]
|
||||||
|
|
||||||
[ext_resource type="Script" path="res://bootclick.gd" id="1_52bti"]
|
[ext_resource type="Script" path="res://bootclick.gd" id="1_52bti"]
|
||||||
[ext_resource type="Script" path="res://fps.gd" id="2_gnh1w"]
|
[ext_resource type="Script" path="res://fps.gd" id="2_gnh1w"]
|
||||||
|
|
|
@ -8,7 +8,7 @@ custom_features=""
|
||||||
export_filter="all_resources"
|
export_filter="all_resources"
|
||||||
include_filter=""
|
include_filter=""
|
||||||
exclude_filter=""
|
exclude_filter=""
|
||||||
export_path=""
|
export_path="./Midori in the Magic School.x86_64"
|
||||||
encryption_include_filters=""
|
encryption_include_filters=""
|
||||||
encryption_exclude_filters=""
|
encryption_exclude_filters=""
|
||||||
encrypt_pck=false
|
encrypt_pck=false
|
||||||
|
@ -19,7 +19,7 @@ encrypt_directory=false
|
||||||
custom_template/debug=""
|
custom_template/debug=""
|
||||||
custom_template/release=""
|
custom_template/release=""
|
||||||
debug/export_console_wrapper=1
|
debug/export_console_wrapper=1
|
||||||
binary_format/embed_pck=false
|
binary_format/embed_pck=true
|
||||||
texture_format/bptc=true
|
texture_format/bptc=true
|
||||||
texture_format/s3tc=true
|
texture_format/s3tc=true
|
||||||
texture_format/etc=false
|
texture_format/etc=false
|
||||||
|
|
|
@ -23,6 +23,7 @@ Global="*res://global.gd"
|
||||||
|
|
||||||
window/size/viewport_width=1280
|
window/size/viewport_width=1280
|
||||||
window/size/viewport_height=720
|
window/size/viewport_height=720
|
||||||
|
window/size/mode=3
|
||||||
window/stretch/mode="viewport"
|
window/stretch/mode="viewport"
|
||||||
|
|
||||||
[rendering]
|
[rendering]
|
||||||
|
|
Loading…
Reference in a new issue