PDA

瀏覽完整版本 : [求助] Weather Elements天氣圖突然無法更新



tuken5413
11-04-2010, 20:00
Weather Elements天氣圖突然無法更新(只剩下Retrieving Weather...)
昨天還正常的
有任何大大可以協助處理(眼汪汪)

larrylo
11-04-2010, 20:02
Weather Elements天氣圖突然無法更新(只剩下Retrieving Weather...)
昨天還正常的
有任何大大可以協助處理(眼汪汪)
麻煩請看:

https://iphone4.tw/forums/showpost.php?p=363909&postcount=50

tuken5413
11-05-2010, 09:10
做完還是不行,而且已經重新安裝了(不要啊)

Archangelwu
11-05-2010, 10:20
https://iphone4.tw/forums/attachment.php**attachmentid=37750&d=1288923638

我是使用比較原始的方式:

打開 openSSH 進入 iPhone OS (開啟無線網路)

Ex: ssh root@10.0.0.1

再到下面的目錄(每個人的目錄或許有些許的不同)

/var/stash/Themes.PNgNHu/Weather Elements.theme/Private/Sources

找到 appleAccuweatherStolen.js,把該檔案撈出來修改,因為系統沒有 vi,所以只好這樣做,不然會更省功。

在檔案裡找到下列的內容:


/*if(zip == ""){

var url = 'http://uport.accu-weather.com/widget/uport/weather-data.asp**' + gps;
}else{
var url = 'http://uport.accu-weather.com/widget/uport/weather-data.asp**location=' + zip;
}*/

if(gps == ""){
var url = 'http://uport.accu-weather.com/widget/uport/weather-data.asp**location=' + zip;
}else{
var url = 'http://uport.accu-weather.com/widget/uport/weather-data.asp**' + gps;
}

把有關於 rdona 的字眼,全部取代為 uport。仔細看,該字串不只有一個地方而已唷!

PS:上頭的範例試我已經修改好的!

最後再把改好的檔案上傳回 iPhone 裡,至於需不需要重啟,就看個人了,小弟是有重啟的習慣啦!

最後,我把改好的檔案上傳給大家使用看看,我自己已經成功更新資料了!

phoenixwang1001
11-05-2010, 13:16
不用那麼麻煩,我uninstall後再重裝就OK了

bto150
11-06-2010, 11:15
請問各位大大

我用GPS Location定位

鎖屏天氣畫面 左邊會出現「牛和蘭先生」...

請問這是怎麼回事

要怎麼把這字刪掉..