Merge pull request #116 from agnosticeng/fix-udf-support
fix: clickhouse config path
This commit is contained in:
2
scripts/install_agnostic_udfs.sh
Normal file → Executable file
2
scripts/install_agnostic_udfs.sh
Normal file → Executable file
@@ -5,7 +5,7 @@ REPO="agnosticeng/clickhouse-evm"
|
||||
API_URL="https://api.github.com/repos/$REPO/releases/latest"
|
||||
OS_ARCH="$(uname | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/')"
|
||||
USER_PATH="$HOME"
|
||||
DEST="$USER_PATH/Library/Application Support/com.agx.app/ch"
|
||||
DEST="$USER_PATH/Library/Application Support/app.agx/ch"
|
||||
|
||||
# Fetch release info
|
||||
RELEASE_JSON=$(curl -s "$API_URL")
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
{
|
||||
"args": [
|
||||
"--path",
|
||||
"-C",
|
||||
"-q",
|
||||
"--output-format"
|
||||
],
|
||||
|
||||
@@ -13,6 +13,8 @@ pub async fn query(app: tauri::AppHandle, _query: String, reader: tauri::ipc::Ch
|
||||
let clickhouse_cmd = app.shell().sidecar("clickhouse").unwrap().args([
|
||||
"--path",
|
||||
&state.path,
|
||||
"-C",
|
||||
&format!("{}/config.xml", state.path),
|
||||
"-q",
|
||||
&_query,
|
||||
"--output-format",
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
"productName": "agx",
|
||||
"mainBinaryName": "agx",
|
||||
"version": "0.1.0",
|
||||
"identifier": "com.agx.app",
|
||||
"identifier": "app.agx",
|
||||
"plugins": {},
|
||||
"app": {
|
||||
"security": {
|
||||
|
||||
Reference in New Issue
Block a user