#sidecar not finding file
122 messages · Page 1 of 1 (latest)
{
"build": {
"beforeDevCommand": "npm run dev",
"beforeBuildCommand": "npm run build",
"devPath": "http://localhost:1420",
"distDir": "../dist",
"withGlobalTauri": false
},
"package": {
"productName": "OneClickDriverInstaller",
"version": "1.0.0"
},
"tauri": {
"allowlist": {
"all": false,
"shell": {
"all": false,
"open": true,
"sidecar": true,
"scope": [
{ "name": "drivers", "sidecar": true }
]
}
},
"bundle": {
"active": true,
"targets": "all",
"identifier": "com.OneClickDriverInstaller.dev",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"externalBin": [
"drivers"
]
},
"security": {
"csp": null
},
"windows": [
{
"fullscreen": false,
"resizable": true,
"title": "OneClickDriverInstaller",
"width": 800,
"height": 600
}
]
}
}
this is my conf file
is it possible to get make the entire folder a sidecar?
path matching drivers-x86_64-pc-windows-msvc.exe not found.
i did try this with the actual exe
and it still says not found
sidecar not finding file
@lost coyote It's searching for an exe named drivers-x86_64-pc-windows-msvc.exe
you cannot sidecar a folder
I also tried the actual file
And it was adding the x86 part
actualy that is how sidecars work
if u write lik
drivers
it will add it like drivers-x86_64-pc-windows-msvc.exe for windows
Ive added it to the end as well
Of the file im trying to get it to path
But it just adds another x86 to the end
The msvc things
add that too in the main file
I did
I mean
Ik the exe file
///conf
"scope": [
{ "name": "drivers", "sidecar": true }
]
And the tauri.conf
and exe file name
Heh
Exe file name: drivers-x86_64-pc-windows-msvc.exe
Name in tauri.conf.json: drivers
Give me a bit, ill test it out with actual files
@dark mountain
path matching /src-tauri/drivers/crostouchpad.4.1.4-installerx86_64-pc-windows-msvc.exe-x86_64-pc-windows-msvc.exe not found.
thats the output^
wait hold on
hmm
and what is it written in tauri.conf.json?
i would get this
{
"build": {
"beforeDevCommand": "npm run dev",
"beforeBuildCommand": "npm run build",
"devPath": "http://localhost:1420",
"distDir": "../dist",
"withGlobalTauri": false
},
"package": {
"productName": "OneClickDriverInstaller",
"version": "1.0.0"
},
"tauri": {
"allowlist": {
"all": false,
"shell": {
"all": false,
"open": true,
"sidecar": true,
"scope": [
{ "name": "/src-tauri/binaries/crostouchpad.4.1.4-installer", "sidecar": true }
]
}
},
"bundle": {
"active": true,
"targets": "all",
"identifier": "com.OneClickDriverInstaller.dev",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"externalBin": [
"/src-tauri/binaries/crostouchpad.4.1.4-installer"
]
},
"security": {
"csp": null
},
"windows": [
{
"fullscreen": false,
"resizable": true,
"title": "OneClickDriverInstaller",
"width": 800,
"height": 600
}
]
}
}
this is the new side var
or updated file
{ "name": "/src-tauri/binaries/crostouchpad.4.1.4-installer-", "sidecar": true }
This will fix the issue
in tauri.conf.json
lets see
path matching /src-tauri/binaries/crostouchpad.4.1.4-installer-x86_64-pc-windows-msvc.exe not found.
"sidecar": true,
"scope": [
{ "name": "/src-tauri/binaries/crostouchpad.4.1.4-installer-", "sidecar": true }
]
}
},
"bundle": {
"active": true,
"targets": "all",
"identifier": "com.OneClickDriverInstaller.dev",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"externalBin": [
"/src-tauri/binaries/crostouchpad.4.1.4-installer"
]
do i have to add the .exe
jason?
win
in tauri.conf.json
i have to use backslash?
{ "name": "./src-tauri/binaries/crostouchpad.4.1.4-installer-", "sidecar": true }
breh
You using root /
aka root/src-tauri/binaries/crostouchpad.4.1.4-xxx
not {pwd}/
ah
its not working
i am on windows 11
path matching ./src-tauri/binaries/crostouchpad.4.1.4-installer-x86_64-pc-windows-msvc.exe not found.
open terminal
cd src-tauri
./src-tauri/binaries/crostouchpad.4.1.4-installer-x86_64-pc-windows-msvc.exe```
does the app launch?
operable program or batch file.```
are you in powershell
cmd
use in powershell
it works if i remove src-tauri
it also requests admin permission
could that be it?
then remove src-tauri in the sidecar path
@lost coyote try that
Nah
i tried that and it didnt work
working?
You're welcome
thanks ahq
also
while youre here
is there a way to make powershell text smoother
and not flash
while i type
in windows terminal?
yes
I see
@lost coyote Found it
how do you see that?
?
@lost coyoteUbuntu style suits your needs I think