diff --git a/docker_install.v b/docker_install.v index 1905836..19ac230 100644 --- a/docker_install.v +++ b/docker_install.v @@ -50,21 +50,13 @@ state: println(' Wrote: ${target_dir}/dashboard.html') } - // Copy Dockerfile and build Linux binary + // Dockerfile for reference (binary must be built separately) if os.exists('Dockerfile') { os.cp('Dockerfile', '${target_dir}/Dockerfile') or {} println(' Wrote: ${target_dir}/Dockerfile') } - // Cross-compile Linux binary - println(' Building Linux binary (v -os linux)...') - build_result := os.execute('v -os linux -o ${target_dir}/ntfy-bridge .') - if build_result.exit_code != 0 { - println(' Warning: Could not cross-compile Linux binary.') - println(' ${build_result.output}') - println(' You will need a Linux binary named "ntfy-bridge" in ${target_dir}/') - } else { - println(' Built: ${target_dir}/ntfy-bridge') - } + println(' Note: Place a Linux binary named "ntfy-bridge" in ${target_dir}/ to build.') + println(' Build: v -os linux -o ${target_dir}/ntfy-bridge . (requires Linux or WSL)') // docker-compose.yml mut compose := 'services: