Skip to content

Commit

Permalink
ot fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
opeolluwa committed Oct 3, 2023
1 parent fbdafe1 commit 71fc48f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions core/src/wifi/linux_hotspot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,20 +46,20 @@ pub fn create_hotspot() -> Result<WifiHotspotConfig, WifiHotspotConfig> {
println!("interface {}", network_interface);

// Execute 'nmcli' commands to create a hotspot
let create_wifi_command = Command::new("nmcli")
let create_wifi_command = std::process::Command::new("nmcli")
.arg("device")
.arg("wifi")
.arg("hotspot")
.arg("ifname")
.arg(&network_interface) // Replace 'wlan0' with the appropriate network interface name
.arg("con-name")
.arg("wishare") // Replace 'my-hotspot' with the desired connection name
.arg("filesync") // Replace with the desired connection name
.arg("ssid")
.arg(&ssid) //the desired SSID name
.arg("password")
.arg(&password) // Replace 'MyPassword' with the desired password
.output()
.expect("Failed to execute 'nmcli' command."); //nmcli dev wifi hotspot ifname wlo1 con-name wishare ssid ghost password 1234test1234
.expect("Failed to execute 'nmcli' command."); //nmcli dev wifi hotspot ifname wlo1 con-name filesync ssid ghost password 1234test1234

// Check if the command was successful
if create_wifi_command.status.success() {
Expand Down
2 changes: 1 addition & 1 deletion core/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"package": {
"productName": "filesync",
"version": "0.6.22"
"version": "0.6.23"
},
"tauri": {
"allowlist": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/history/TransferHistory.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function FileHistory({
id,
}: Props) {
return (
<div className="flex justify-between items-center my-8 flex-wrap bg-[#edeffb] border-gray-900 p-3 rounded-lg shadow-md shadow-gray-300 cursor-pointer dark:shadow-none dark:bg-dark-800 hover:shadow-sm hover:shadow-gray-400 transition-shadow ease-in-out">
<div className="flex justify-between items-center my-8 flex-wrap bg-[#edeffb] border-gray-900 p-3 rounded-lg shadow-md shadow-gray-300 cursor-pointer dark:shadow-none dark:bg-dark-900 hover:shadow-sm hover:shadow-gray-400 transition-shadow ease-in-out">
<div className="pr-[10px] rounded-full">
<Identicon
string={id}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/help.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Image from "next/image";
import PageLayout from "@/components/layout/PageLayout";
import Heading from "@/components/app/Heading";
import Heading from "@/components/Heading";
import Text from "@/components/Text";

export default function HelpPage() {
Expand Down

0 comments on commit 71fc48f

Please sign in to comment.