Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Revan654 committed Jan 20, 2019
1 parent 520c473 commit 6825991
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 35 deletions.
24 changes: 1 addition & 23 deletions General/Extras.vb
Original file line number Diff line number Diff line change
Expand Up @@ -235,26 +235,4 @@ Public Class MKVInfo
MsgInfo("No HDR Metadata Key was Found")
End If
End Sub
End Class
'Public Class UpdateStaxRip
' Shared Sub Update()
' If Not Package.Update.VerifyOK(True) Then Exit Sub

' Dim UpdateCode As String
' Dim Path = Folder.Startup + "Update" + ".bat"

' UpdateCode += "@echo OFF" + BR
' UpdateCode += "pushd %~dp0" + BR
' UpdateCode += "if exist ""%~dp0\Apps\Support\Update\update.ps1"" (" + BR
' UpdateCode += "set update_script=""Apps\Support\Update\update.ps1""" + BR
' UpdateCode += ") else (" + BR
' UpdateCode += "set update_script=""Apps\Support\Update\update.ps1""" + BR
' UpdateCode += ")" + BR
' UpdateCode += "powershell -noprofile -nologo -noexit -executionpolicy bypass -File %update_script%" + BR
' UpdateCode += "@exit"

' File.WriteAllText(Path, UpdateCode, Encoding.Default)
' g.DefaultCommands.ExecuteCommandLine(Path, False, False, False)

' End Sub
'End Class
End Class
17 changes: 5 additions & 12 deletions General/GlobalClass.vb
Original file line number Diff line number Diff line change
Expand Up @@ -590,20 +590,13 @@ Public Class GlobalClass
' p.TempDir = p.SourceFile.Dir + base + "_temp\"
End If
Catch ex As Exception
Dim base = p.SourceFile.Base
If base.Length > 30 Then base = base.Shorten(15) + "..."
p.TempDir = p.SourceFile.Dir + base + "_temp\"
MsgInfo(ex.Message)
'Only
'Previous Versions of Windows(Below Windows 10)
'Also well if the Harddrive is not NTFS
'Requires Shorter Paths.
'Only Previous Versions of Windows(Below Windows 10) Can't Handle Long Paths and HDD Must be NTFS.
' This Should catch Older OS's.
End Try
'Else
' Try
' Dim base = p.SourceFile.Base
' base = base.Shorten(15) + "..."
' p.TempDir = p.SourceFile.Dir + base + "_temp\"
' Catch ex As Exception
' End Try
'End If

'Source Code Running Windows 7 & 8.1, Just incase Code needs to reverted Back:

Expand Down

0 comments on commit 6825991

Please sign in to comment.