remove git plugin
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2016-2023 The Godot Engine community
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,12 +0,0 @@
|
||||
[configuration]
|
||||
|
||||
entry_symbol = "git_plugin_init"
|
||||
compatibility_minimum = "4.1.0"
|
||||
|
||||
[libraries]
|
||||
|
||||
macos.editor = "macos/libgit_plugin.macos.editor.universal.dylib"
|
||||
windows.editor.x86_64 = "win64/libgit_plugin.windows.editor.x86_64.dll"
|
||||
linux.editor.x86_64 = "linux/libgit_plugin.linux.editor.x86_64.so"
|
||||
linux.editor.arm64 = "linux/libgit_plugin.linux.editor.arm64.so"
|
||||
linux.editor.rv64 = ""
|
||||
@@ -1 +0,0 @@
|
||||
uid://bkptv02am6p88
|
||||
Binary file not shown.
Binary file not shown.
@@ -1,7 +0,0 @@
|
||||
[plugin]
|
||||
|
||||
name="Godot Git Plugin"
|
||||
description="This plugin lets you interact with Git without leaving the Godot editor. More information can be found at https://github.com/godotengine/godot-git-plugin/wiki"
|
||||
author="twaritwaikar"
|
||||
version="v3.1.1"
|
||||
script="godot-git-plugin.gd"
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -270,8 +270,9 @@ func SongDragStopped(Changed:bool):
|
||||
pausePlay()
|
||||
|
||||
UpdateProgressSlider = true
|
||||
DiscordRPC.start_timestamp = int(Time.get_unix_time_from_system() - (current_progress.value * CurrentSongLenth / current_progress.max_value))
|
||||
DiscordRPC.refresh()
|
||||
if DiscordRichPresenceEnabled:
|
||||
DiscordRPC.start_timestamp = int(Time.get_unix_time_from_system() - (current_progress.value * CurrentSongLenth / current_progress.max_value))
|
||||
DiscordRPC.refresh()
|
||||
|
||||
func SongDragStarted():
|
||||
UpdateProgressSlider = false
|
||||
@@ -376,7 +377,8 @@ func PlaySongs():
|
||||
if !CurrentDir.ends_with(CurrentPlaylist):
|
||||
GetSongs(PlaylistsLocation[CurrentPlaylist])
|
||||
var CurrentSongDir:String = PlaylistsLocation[CurrentPlaylist] + "/" + textSongs[index]
|
||||
DiscordRPC.details = textSongs[index].replace(".mp3","")
|
||||
if DiscordRichPresenceEnabled:
|
||||
DiscordRPC.details = textSongs[index].replace(".mp3","")
|
||||
currentSongName = textSongs[index].replace(".mp3","")
|
||||
print(CurrentSongDir)
|
||||
var sonnname:String = textSongs[index]
|
||||
@@ -503,12 +505,14 @@ func _process(_delta: float) -> void:
|
||||
if music_player.playing:
|
||||
TimeSpentListening += _delta
|
||||
CurrentPausedIndicatorShaderIntensity = lerp(CurrentPausedIndicatorShaderIntensity,0.0,0.1)
|
||||
DiscordRPC.state = tr("STATE_LISTENING")
|
||||
if DiscordRichPresenceEnabled:
|
||||
DiscordRPC.state = tr("STATE_LISTENING")
|
||||
else:
|
||||
DiscordRPC.start_timestamp = int(0)
|
||||
DiscordRPC.state = tr("STATE_PAUSED")
|
||||
if DiscordRPC.get_is_discord_working():
|
||||
DiscordRPC.refresh()
|
||||
if DiscordRichPresenceEnabled:
|
||||
DiscordRPC.start_timestamp = int(0)
|
||||
DiscordRPC.state = tr("STATE_PAUSED")
|
||||
if DiscordRPC.get_is_discord_working():
|
||||
DiscordRPC.refresh()
|
||||
CurrentPausedIndicatorShaderIntensity = lerp(CurrentPausedIndicatorShaderIntensity,1.0,0.1)
|
||||
if DiscordRichPresenceEnabled:
|
||||
DiscordRPC.run_callbacks()
|
||||
@@ -544,11 +548,12 @@ func _process(_delta: float) -> void:
|
||||
LoopingSong = true
|
||||
ReactivateLoop = false
|
||||
loop.icon = LoopPressed
|
||||
DiscordRPC.refresh()
|
||||
if DiscordRichPresenceEnabled:
|
||||
DiscordRPC.refresh()
|
||||
|
||||
|
||||
func UpdateSplashes():
|
||||
if DiscordRPC.get_is_discord_working():
|
||||
if DiscordRPC.get_is_discord_working() && DiscordRichPresenceEnabled:
|
||||
SplashStrings = ["Total listening time: %s!" % str(str(int(TimeSpentListening/60)/60 )
|
||||
+ "h : " + str((int(TimeSpentListening) / 60) % 60) + "m : " +
|
||||
str(int(TimeSpentListening) % 60) + "s"),
|
||||
|
||||
Reference in New Issue
Block a user