mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-22 07:30:24 +00:00
Fix debug script permissions
This commit is contained in:
parent
ca2468797d
commit
00d549d2ac
2 changed files with 21 additions and 38 deletions
29
dist/base.gradle
vendored
29
dist/base.gradle
vendored
|
@ -59,13 +59,13 @@ if (org.gradle.internal.os.OperatingSystem.current().isWindows()) {
|
||||||
debug.text = file("$projectDir/debug/windows/xpiped_debug.bat").text.replaceAll(
|
debug.text = file("$projectDir/debug/windows/xpiped_debug.bat").text.replaceAll(
|
||||||
'JVM-ARGS',
|
'JVM-ARGS',
|
||||||
debugArguments)
|
debugArguments)
|
||||||
debug.setExecutable(true, false)
|
debug.setExecutable(true)
|
||||||
|
|
||||||
def debugAttach = file("$distDir/base/app/scripts/xpiped_debug_attach.bat")
|
def debugAttach = file("$distDir/base/app/scripts/xpiped_debug_attach.bat")
|
||||||
debugAttach.text = file("$projectDir/debug/windows/xpiped_debug.bat").text.replaceAll(
|
debugAttach.text = file("$projectDir/debug/windows/xpiped_debug.bat").text.replaceAll(
|
||||||
'JVM-ARGS',
|
'JVM-ARGS',
|
||||||
debugAttachArguments + ' ' + debugArguments)
|
debugAttachArguments + ' ' + debugArguments)
|
||||||
debugAttach.setExecutable(true, false)
|
debugAttach.setExecutable(true)
|
||||||
|
|
||||||
copy {
|
copy {
|
||||||
from "$distDir/cli"
|
from "$distDir/cli"
|
||||||
|
@ -112,14 +112,19 @@ if (org.gradle.internal.os.OperatingSystem.current().isWindows()) {
|
||||||
def debugAttachArguments = file("$projectDir/debug/linux/debug_attach_arguments.txt").text.lines().map(s -> '"' + s + '"').collect(
|
def debugAttachArguments = file("$projectDir/debug/linux/debug_attach_arguments.txt").text.lines().map(s -> '"' + s + '"').collect(
|
||||||
Collectors.joining(' '))
|
Collectors.joining(' '))
|
||||||
file("$distDir/base/app/scripts").mkdirs()
|
file("$distDir/base/app/scripts").mkdirs()
|
||||||
file("$distDir/base/app/scripts/xpiped_debug.sh").text = file("$projectDir/debug/linux/xpiped_debug.sh").text.replace(
|
|
||||||
|
|
||||||
|
def debug = file("$distDir/base/app/scripts/xpiped_debug.sh")
|
||||||
|
debug.text = file("$projectDir/debug/linux/xpiped_debug.sh").text.replaceAll(
|
||||||
'JVM-ARGS',
|
'JVM-ARGS',
|
||||||
debugArguments)
|
debugArguments)
|
||||||
file("$distDir/base/app/scripts/xpiped_debug.sh").executable = true
|
debug.setExecutable(true, false)
|
||||||
file("$distDir/base/app/scripts/xpiped_debug_attach.sh").text = file("$projectDir/debug/linux/xpiped_debug.sh").text.replace(
|
|
||||||
|
def debugAttach = file("$distDir/base/app/scripts/xpiped_debug_attach.sh")
|
||||||
|
debugAttach.text = file("$projectDir/debug/linux/xpiped_debug.sh").text.replaceAll(
|
||||||
'JVM-ARGS',
|
'JVM-ARGS',
|
||||||
debugAttachArguments + ' ' + debugArguments)
|
debugAttachArguments + ' ' + debugArguments)
|
||||||
file("$distDir/base/app/scripts/xpiped_debug_attach.sh").executable = true
|
debugAttach.setExecutable(true, false)
|
||||||
|
|
||||||
copy {
|
copy {
|
||||||
from "$distDir/licenses"
|
from "$distDir/licenses"
|
||||||
|
@ -188,14 +193,18 @@ if (org.gradle.internal.os.OperatingSystem.current().isWindows()) {
|
||||||
def debugAttachArguments = file("$projectDir/debug/mac/debug_attach_arguments.txt").text.lines().map(s -> '"' + s + '"').collect(
|
def debugAttachArguments = file("$projectDir/debug/mac/debug_attach_arguments.txt").text.lines().map(s -> '"' + s + '"').collect(
|
||||||
Collectors.joining(' '))
|
Collectors.joining(' '))
|
||||||
file("$distDir/XPipe.app/Contents/Resources/scripts").mkdirs()
|
file("$distDir/XPipe.app/Contents/Resources/scripts").mkdirs()
|
||||||
file("$distDir/XPipe.app/Contents/Resources/scripts/xpiped_debug.sh").text = file("$projectDir/debug/mac/xpiped_debug.sh").text.replace(
|
|
||||||
|
def debug = file("$distDir/XPipe.app/Contents/Resources/scripts/xpiped_debug.sh")
|
||||||
|
debug.text = file("$projectDir/debug/mac/xpiped_debug.sh").text.replaceAll(
|
||||||
'JVM-ARGS',
|
'JVM-ARGS',
|
||||||
debugArguments)
|
debugArguments)
|
||||||
file("$distDir/XPipe.app/Contents/Resources/scripts/xpiped_debug.sh").executable = true
|
debug.setExecutable(true, false)
|
||||||
file("$distDir/XPipe.app/Contents/Resources/scripts/xpiped_debug_attach.sh").text = file("$projectDir/debug/mac/xpiped_debug.sh").text.replace(
|
|
||||||
|
def debugAttach = file("$distDir/XPipe.app/Contents/Resources/scripts/xpiped_debug_attach.sh")
|
||||||
|
debugAttach.text = file("$projectDir/debug/mac/xpiped_debug.sh").text.replaceAll(
|
||||||
'JVM-ARGS',
|
'JVM-ARGS',
|
||||||
debugAttachArguments + ' ' + debugArguments)
|
debugAttachArguments + ' ' + debugArguments)
|
||||||
file("$distDir/XPipe.app/Contents/Resources/scripts/xpiped_debug_attach.sh").executable = true
|
debugAttach.setExecutable(true, false)
|
||||||
|
|
||||||
if (System.getenv("MACOS_DEVELOPER_ID_APPLICATION_CERTIFICATE_NAME") != null) {
|
if (System.getenv("MACOS_DEVELOPER_ID_APPLICATION_CERTIFICATE_NAME") != null) {
|
||||||
exec {
|
exec {
|
||||||
|
|
30
dist/changelogs/1.5.3.md
vendored
30
dist/changelogs/1.5.3.md
vendored
|
@ -3,9 +3,8 @@
|
||||||
- Add connection timeout setting for cases in which some connections are slow to start up
|
- Add connection timeout setting for cases in which some connections are slow to start up
|
||||||
- Fix connection timeout not being properly applied for ssh config connections
|
- Fix connection timeout not being properly applied for ssh config connections
|
||||||
- Fix sudo elevation password not passed to ssh config connections
|
- Fix sudo elevation password not passed to ssh config connections
|
||||||
- Fix about screen on macOS
|
|
||||||
- Fix sudo elevation not being possible for some commands even though it should
|
- Fix sudo elevation not being possible for some commands even though it should
|
||||||
- Fix terminal session sometimes not opening the correct system using SSH jump hosts
|
- Fix terminal session sometimes not opening the correct system when using SSH jump hosts
|
||||||
- Fix debug mode not launching in some cases on Linux due to script permission issues
|
- Fix debug mode not launching in some cases on Linux due to script permission issues
|
||||||
- Fix CLI crashing due to missing CPU features on outdated CPUs
|
- Fix CLI crashing due to missing CPU features on outdated CPUs
|
||||||
- Fix SSH key file not being properly validated
|
- Fix SSH key file not being properly validated
|
||||||
|
@ -17,29 +16,4 @@
|
||||||
- Fix shell connection state not being properly reset on unexpected termination
|
- Fix shell connection state not being properly reset on unexpected termination
|
||||||
- Fix fish error check sometimes being displayed in cmd
|
- Fix fish error check sometimes being displayed in cmd
|
||||||
- Fix file browser tab closing failing if underlying shell connection has died
|
- Fix file browser tab closing failing if underlying shell connection has died
|
||||||
|
- Fix about screen on macOS
|
||||||
## Changes in 1.5.2
|
|
||||||
|
|
||||||
- Make automatic connection search dialog accessible from a separate button
|
|
||||||
- Add filter bar to connection chooser
|
|
||||||
- Add Kubernetes describe action for pods
|
|
||||||
- Fix Kubernetes functionality breaking when a pot contain multiple containers
|
|
||||||
- Use Kubernetes context names instead of cluster names to access resources
|
|
||||||
- Fix automatic ssh host key acceptance not working
|
|
||||||
- Fix paste not working in file browser
|
|
||||||
- Rework dynamic script generation to apply some properties after init scripts
|
|
||||||
- Many other small miscellaneous fixes and improvements
|
|
||||||
|
|
||||||
## Changes in 1.5.1
|
|
||||||
|
|
||||||
- Add ARM build for Linux to available releases
|
|
||||||
- Add ability to sort connections by name and last access date
|
|
||||||
- Add ability to automatically accept new ssh host key when required
|
|
||||||
- Improve performance when adding are removing connections
|
|
||||||
- Look in PATH for terminals on windows
|
|
||||||
- Fix CLI error messages not being able to be parsed
|
|
||||||
- Many other small miscellaneous fixes and improvements
|
|
||||||
|
|
||||||
## Changes in 1.5.0
|
|
||||||
|
|
||||||
https://github.com/xpipe-io/xpipe/releases/tag/1.5.0 is the largest update yet and comes with loads of improvements and changes, some of which might require you to update some connection configurations. There might be some rough edges, but these will be quickly ironed out. So please report any issues you can find!
|
|
||||||
|
|
Loading…
Reference in a new issue